|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.services.jdbc.DatabaseResultSetMetaData
The DatabaseResultSetMetaData class maintains the information concerning the columns for a specific database table.
Field Summary | |
int |
columnCount
The number of columns in the database table. |
Vector |
columnsDisplaySizes
The sizes of the columns in the database table. |
Vector |
columnsNames
The names of the columns in the database table. |
Vector |
columnsTypes
The types of the columns in the database table. |
Vector |
columnsTypesNames
The types names of the columns in the database table. |
Constructor Summary | |
DatabaseResultSetMetaData(java.sql.ResultSetMetaData aSchemaDefinition)
This constructor creates a DatabaseResultSetMetaData object. |
Method Summary | |
int |
getColumnCount()
Returns the columnCount attribute value. |
int |
getColumnDisplaySize(int aColumnIndex)
Returns the column display size of a column referrenced by aColumnIndex in the database table. |
java.lang.String |
getColumnName(int columnIndex)
Returns the column name for a specific index. |
int |
getColumnType(int aColumnIndex)
Returns the column type for the column in the database table, which is referenced by aColumnIndex index. |
java.lang.String |
getColumnTypeName(int aColumnIndex)
Returns the column type name for a column in the database table, which is referenced by aColumnIndex index. |
void |
setColumnCount(int aNumberOfColumns)
Sets the value of the columnCount attribute to aNumberOfColumns. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int columnCount
public Vector columnsNames
public Vector columnsTypes
public Vector columnsTypesNames
public Vector columnsDisplaySizes
Constructor Detail |
public DatabaseResultSetMetaData(java.sql.ResultSetMetaData aSchemaDefinition) throws java.sql.SQLException
aSchemaDefinition
- ResultSetMetaDataMethod Detail |
public int getColumnCount()
public int getColumnDisplaySize(int aColumnIndex)
aColumnIndex
- intpublic java.lang.String getColumnName(int columnIndex)
columnIndex
- intpublic int getColumnType(int aColumnIndex)
aColumnIndex
- intpublic java.lang.String getColumnTypeName(int aColumnIndex)
aColumnIndex
- intpublic void setColumnCount(int aNumberOfColumns)
aNumberOfColumns
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |