|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.dse.services.jdbc.JDBCServicesAdministrator
|
+--com.ibm.dse.services.jdbc.JDBCStoreSchemaGenerator
The JDBCStoreSchemaGenerator class is responsible for creating the Table for a Store Schema and generating the SGML for the specified JDBCStore formatter.
| Field Summary | |
static java.lang.String |
catalogName
Keeps the store catalog name |
static boolean |
createSchema
Keeps the createSchema attribute value. |
java.lang.String |
databaseName
Keeps the databaseName attribute value. |
java.lang.String |
indexName
Keeps the indexName attribute value. |
static java.lang.String |
schemaName
Keeps the store schema name |
| Fields inherited from class com.ibm.dse.services.jdbc.JDBCServicesAdministrator |
COMPID,
databaseConnection |
| Constructor Summary | |
JDBCStoreSchemaGenerator()
This constructor creates a JDBCStoreSchemaGenerator object. |
|
| Method Summary | |
void |
generateTable(java.lang.String aTableName,
java.lang.String aTableDefinition)
Generates the store table in the selected database with aTableName name. |
void |
generateTable(java.lang.String aSchemaName,
java.lang.String aTableName,
java.lang.String aTableDefinition)
Generates the store table in the selected database with aTableName name. |
static java.lang.String |
getCatalogName()
Returns the catalogName attribute value. |
java.lang.String |
getDatabaseName()
Returns the databaseName attribute. |
java.lang.String |
getIndexName()
Returns the indexName attribute. |
protected static DatabaseResultSetMetaData |
getMetaData(java.lang.String aTableName)
Returns the DatabaseResultSetMetaData associated with a Store Table. |
static java.lang.String |
getSchemaName()
Returns the schemaName attribute value. |
static boolean |
isCreateSchema()
Returns the createSchema attribute value. |
void |
loadDriver()
Loads the JDBC Driver as set in the JournalConstants ST_DEFAULT_JDBCDRIVER attribute. |
void |
loadDriver(java.lang.String aDriverName)
Loads the JDBC Driver explicitly provided as an argument. |
static void |
setCatalogName(java.lang.String s)
Sets the catalogName attribute to the string provided as argument. |
static void |
setCreateSchema(boolean newCreateSchema)
Sets the createSchema attribute value to newCreateSchema. |
void |
setDatabaseName(java.lang.String newDatabaseName)
Sets the databaseName attribute value to newDatabaseName. |
void |
setIndexName(java.lang.String newIndexName)
Sets the indexName attribute value to newIndexName. |
static void |
setSchemaName(java.lang.String s)
Sets the schemaName attribute to the string provided as an argument. |
| Methods inherited from class com.ibm.dse.services.jdbc.JDBCServicesAdministrator |
connect,
connect,
disconnect,
dropProcedure,
getProcedureMetaData,
isRegistered,
isRegistered,
registerProcedure |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static java.lang.String schemaName
public static java.lang.String catalogName
public java.lang.String databaseName
public static boolean createSchema
public java.lang.String indexName
| Constructor Detail |
public JDBCStoreSchemaGenerator()
| Method Detail |
public void generateTable(java.lang.String aTableName,
java.lang.String aTableDefinition)
throws DSEInvalidArgumentException,
DSESQLException,
DSEInternalErrorException,
DSEInvalidRequestException
aTableName - java.lang.StringaTableDefinition - java.lang.String
public void generateTable(java.lang.String aSchemaName,
java.lang.String aTableName,
java.lang.String aTableDefinition)
throws DSEInvalidArgumentException,
DSESQLException,
DSEInternalErrorException,
DSEInvalidRequestException
aSchemaName - java.lang.StringaTableName - java.lang.StringaTableDefinition - java.lang.Stringpublic static java.lang.String getCatalogName()
public java.lang.String getDatabaseName()
public java.lang.String getIndexName()
protected static DatabaseResultSetMetaData getMetaData(java.lang.String aTableName)
throws DSEInvalidArgumentException,
DSEInternalErrorException,
DSESQLException
aTableName - java.lang.String, the store table namepublic static java.lang.String getSchemaName()
public static boolean isCreateSchema()
public void loadDriver()
throws DSEInternalErrorException
public void loadDriver(java.lang.String aDriverName)
throws DSEInternalErrorException
aDriverName - java.lang.String, the driver name (full path)public static void setCatalogName(java.lang.String s)
s - java.lang.Stringpublic static void setCreateSchema(boolean newCreateSchema)
newCreateSchema - booleanpublic void setDatabaseName(java.lang.String newDatabaseName)
newDatabaseName - java.lang.Stringpublic void setIndexName(java.lang.String newIndexName)
newIndex - java.lang.Stringpublic static void setSchemaName(java.lang.String s)
s - java.lang.String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||