|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface Table
Field Summary | |
---|---|
static int |
AUTO_CREATE
Bit flag passed to validate() to indicate that the table should be created if it is missing. |
static int |
TABLE_TYPE_BASE_TABLE
Returned by StoreManager.getTableType() if the table is a base table. |
static int |
TABLE_TYPE_MISSING
Returned by StoreManager.getTableType() if the table does not exist. |
static int |
TABLE_TYPE_UNKNOWN
Returned by StoreManager.getTableType() if the table type is not recognized. |
static int |
TABLE_TYPE_VIEW
Returned by StoreManager.getTableType() if the table is a view. |
static int |
VALIDATE
Bit flag passed to validate() to indicate that the table structure should be validated using JDBC metadata. |
Method Summary | |
---|---|
void |
addColumn(Column col)
|
void |
create(java.sql.Connection conn)
|
void |
drop(java.sql.Connection conn)
|
boolean |
exists(java.sql.Connection conn)
|
SQLIdentifier |
getName()
|
java.lang.String |
getSchemaName()
|
StoreManager |
getStoreManager()
|
void |
initialize()
|
boolean |
isInitialized()
|
boolean |
isValidated()
|
Column |
newColumn(java.lang.Class type,
SQLIdentifier name,
Role role)
|
Column |
newColumn(java.lang.Class type,
java.lang.String javaName)
|
boolean |
validate(int flags,
java.sql.Connection conn)
|
Field Detail |
---|
static final int TABLE_TYPE_MISSING
static final int TABLE_TYPE_UNKNOWN
static final int TABLE_TYPE_BASE_TABLE
static final int TABLE_TYPE_VIEW
static final int VALIDATE
static final int AUTO_CREATE
Method Detail |
---|
void initialize()
boolean isInitialized()
SQLIdentifier getName()
StoreManager getStoreManager()
java.lang.String getSchemaName()
void addColumn(Column col)
Column newColumn(java.lang.Class type, java.lang.String javaName)
Column newColumn(java.lang.Class type, SQLIdentifier name, Role role)
boolean exists(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
void create(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
boolean validate(int flags, java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
boolean isValidated()
void drop(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |