|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttoolkit.db.api.SQLMapInfo
public class SQLMapInfo
The SQLMapInfo is a structured class that represents
mapping relations between mapping names and sql names of tables/columns.
| Field Summary | |
|---|---|
static int |
PATTERN_1PART_NAME
Selected tables in SQL are unqualified. |
static int |
PATTERN_2PART_NAME
Selected columns in SQL are qualified in two-part name pattern. |
static int |
PATTERN_3PART_NAME
Selected columns in SQL are qualified in three-part name pattern. |
| Constructor Summary | |
|---|---|
SQLMapInfo()
Construct a new instance with qlfOpt with default value PATTERN_1PART_NAME. |
|
SQLMapInfo(int qlfOpt)
Construct a new instance with specified qlfOpt. |
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getColMap()
Gets colMap. |
int |
getQlfOpt()
Get qualified pattern option qlfOpt. |
java.util.Hashtable |
getTabMap()
Gets tabMap. |
void |
setQlfOpt(int plfOpt)
Set qualified pattern option qlfOpt with specified parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PATTERN_1PART_NAME
SELECT t.c FROM t
public static final int PATTERN_2PART_NAME
SELECT schema.t.c FROM schema.t
public static final int PATTERN_3PART_NAME
SELECT catalog.schema.t.c FROM catalog.schema.t
| Constructor Detail |
|---|
public SQLMapInfo()
PATTERN_1PART_NAME.
qlfOpt - Qualified pattern option.public SQLMapInfo(int qlfOpt)
qlfOpt - Qualified pattern option.| Method Detail |
|---|
public java.util.Hashtable getTabMap()
getColMap()public java.util.Hashtable getColMap()
getTabMap()public int getQlfOpt()
qlfOpt.
public void setQlfOpt(int plfOpt)
qlfOpt with specified parameter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||