|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbMetaData
A TWGDbMetaData instance is sent as output parameter 0 in the response to a database find table by classname command if the command is successful.
Constructor Summary | |
---|---|
TWGDbMetaData(byte[] buf)
This method is public as an implementation side effect. |
|
TWGDbMetaData(java.lang.String product_name,
java.lang.String product_version,
java.lang.String driver,
java.lang.String driver_version,
int columns_in_select,
int tables_in_select,
int max_column_name_length,
int max_table_name_length,
int max_char_length,
int max_primary_keys_length)
This method is public as an implementation side effect. |
Method Summary | |
---|---|
java.lang.String |
getDatabaseProductName()
Get database product name. |
java.lang.String |
getDatabaseProductVersion()
Get database product version. |
java.lang.String |
getDriverName()
Get database driver name. |
java.lang.String |
getDriverVersion()
Get database driver version. |
protected int |
getIntelByteBufferSize()
This method is protected as an implementation side effect. |
int |
getMaxCharLength()
Get the maximum char length |
int |
getMaxColumnNameLength()
Get the maximum column name length |
int |
getMaxColumnsInSelect()
Get the maximum number of columns allowed in select clause. |
int |
getMaxPrimaryKeysLength()
Get the maximum length for all primary keys |
int |
getMaxTableNameLength()
Get the maximum table name length |
int |
getMaxTablesInSelect()
Get the maximum number of tables allowed in select clause. |
void |
setIntelByteBufferParms(Command cmd)
This method is protected as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGDbMetaData(java.lang.String product_name, java.lang.String product_version, java.lang.String driver, java.lang.String driver_version, int columns_in_select, int tables_in_select, int max_column_name_length, int max_table_name_length, int max_char_length, int max_primary_keys_length)
product_name
- - the name of the database product.product_version
- - the version for this database product.driver
- - the name of the driver for the database.driver_version
- - the version of the database driver.columns_in_select
- - the maximum number of columns allowed in select clause.tables_in_select
- - the maximum number of tables allowed in select clause.max_column_name_length
- - the maximum column name length.max_table_name_length
- - the maximum table name lengthmax_char_length
- - the maximum char lengthmax_primary_keys_length
- - maximum length of all primary keyspublic TWGDbMetaData(byte[] buf) throws TWGDbException
Constructor for the building the object from an IntelByteBuffer format of the command
buf
- - the reply in IntelByteBufferFormat
-
- TWGDbException thrown for parameter or version errors
TWGDbException
Method Detail |
public java.lang.String getDatabaseProductName()
public java.lang.String getDatabaseProductVersion()
public java.lang.String getDriverName()
public java.lang.String getDriverVersion()
public int getMaxColumnsInSelect()
public int getMaxTablesInSelect()
public int getMaxColumnNameLength()
public int getMaxTableNameLength()
public int getMaxCharLength()
public int getMaxPrimaryKeysLength()
public void setIntelByteBufferParms(Command cmd)
Build IntelByteBuffer parms version of this command and add them to the IPC command
cmd
- - the IPC command whose input parameters will be set by this method
-
- TWGDbException thrown for parameter or version errorsprotected int getIntelByteBufferSize()
Get the IntelByteBuffer size
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |