3 new apache icons; thanks to Anderson Forteleza
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / adapters / RedBrickAdapter.java
1 package com.quantum.adapters;
2
3
4 /**
5  * @author bcholmes
6  */
7 public class RedBrickAdapter extends DatabaseAdapter {
8
9         /**
10          * @param type
11          */
12         protected RedBrickAdapter() {
13                 super(AdapterFactory.REDBRICK);
14         }
15
16         public String getShowTableQuery(String qualifier) {
17                 return "select name from rbw_tables where type = 'TABLE'";
18         }
19
20         public String getShowViewQuery(String qualifier) {
21                 return "select name from rbw_tables where type = 'VIEW'";
22         }
23     /**
24      * @see com.quantum.adapters.DatabaseAdapter#getDefaultSchema(java.lang.String)
25      */
26     public String getDefaultSchema(String userid) {
27         return null;
28     }
29
30 }