|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jtopenlite.database.jdbc.JDBCResultSetMetaData
public class JDBCResultSetMetaData
| Field Summary |
|---|
| Fields inherited from interface java.sql.ResultSetMetaData |
|---|
columnNoNulls, columnNullable, columnNullableUnknown |
| Constructor Summary | |
|---|---|
JDBCResultSetMetaData(int serverCCSID,
Calendar calendarUsedForConversions,
String catalog)
|
|
| Method Summary | |
|---|---|
void |
baseColumnName(int fieldIndex,
String name)
|
void |
baseSchemaName(int fieldIndex,
String name)
|
void |
baseTableName(int fieldIndex,
String name)
|
void |
columnAttributes(int fieldIndex,
int updateable,
int searchable,
boolean isIdentity,
boolean isAlwaysGenerated,
boolean isPartOfAnyIndex,
boolean isLoneUniqueIndex,
boolean isPartOfUniqueIndex,
boolean isExpression,
boolean isPrimaryKey,
boolean isNamed,
boolean isRowID,
boolean isRowChangeTimestamp)
|
void |
columnLabel(int fieldIndex,
String name)
|
void |
fieldDescription(int fieldIndex,
int type,
int length,
int scale,
int precision,
int ccsid,
int joinRefPosition,
int attributeBitmap,
int lobMaxSize)
|
void |
fieldName(int fieldIndex,
String name)
|
String |
getCatalogName(int column)
Not implemented. |
String |
getColumnClassName(int column)
Not implemented. |
int |
getColumnCount()
|
int |
getColumnDisplaySize(int column)
Not implemented. |
String |
getColumnLabel(int column)
|
String |
getColumnName(int column)
|
int |
getColumnType(int column)
|
String |
getColumnTypeName(int column)
|
int |
getPrecision(int column)
|
int |
getScale(int column)
|
String |
getSchemaName(int column)
|
String |
getTableName(int column)
|
boolean |
isAutoIncrement(int column)
|
boolean |
isCaseSensitive(int column)
|
boolean |
isCurrency(int column)
Indicates if the column is a currency value. |
boolean |
isDefinitelyWritable(int column)
|
int |
isNullable(int column)
Not implemented. |
boolean |
isReadOnly(int column)
|
boolean |
isSearchable(int column)
|
boolean |
isSigned(int column)
Not implemented. |
boolean |
isWritable(int column)
|
void |
resultSetDescription(int numFields,
int dateFormat,
int timeFormat,
int dateSeparator,
int timeSeparator,
int recordSize)
|
void |
setCacheLastOnly(int column,
boolean b)
Caches the last String returned by ResultSet.getString(column), and returns that same object on the next call to ResultSet.getString(column) if the value returned from the database is identical. |
void |
setCacheLastOnly(String column,
boolean b)
You know you want this, if you're going to be calling getString() a lot. |
void |
setUseDateCache(int column,
boolean b)
Caches the last Date returned by ResultSet.getDate(column), and returns that same object on the next call to ResultSet.getDate(column) if the value returned from the database is identical. |
void |
setUseDateCache(String column,
boolean b)
You know you want this, if you're going to be calling getDate() a lot. |
void |
setUseStringCache(int column,
boolean b)
Caches all unique Strings returned by ResultSet.getString(column). |
void |
setUseStringCache(String column,
boolean b)
You know you want this, if you're going to be calling getString() a lot. |
void |
setUseTimeCache(int column,
boolean b)
Caches the last Time returned by ResultSet.getTime(column), and returns that same object on the next call to ResultSet.getTime(column) if the value returned from the database is identical. |
void |
setUseTimeCache(String column,
boolean b)
You know you want this, if you're going to be calling getTime() a lot. |
void |
sqlFromSchema(int fieldIndex,
String name)
|
void |
sqlFromTable(int fieldIndex,
String name)
|
void |
udtName(int fieldIndex,
String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCResultSetMetaData(int serverCCSID,
Calendar calendarUsedForConversions,
String catalog)
| Method Detail |
|---|
public void resultSetDescription(int numFields,
int dateFormat,
int timeFormat,
int dateSeparator,
int timeSeparator,
int recordSize)
resultSetDescription in interface DatabaseDescribeCallback
public void fieldDescription(int fieldIndex,
int type,
int length,
int scale,
int precision,
int ccsid,
int joinRefPosition,
int attributeBitmap,
int lobMaxSize)
fieldDescription in interface DatabaseDescribeCallback
public void fieldName(int fieldIndex,
String name)
fieldName in interface DatabaseDescribeCallback
public void udtName(int fieldIndex,
String name)
udtName in interface DatabaseDescribeCallback
public void baseColumnName(int fieldIndex,
String name)
baseColumnName in interface DatabaseDescribeCallback
public void baseTableName(int fieldIndex,
String name)
baseTableName in interface DatabaseDescribeCallback
public void columnLabel(int fieldIndex,
String name)
columnLabel in interface DatabaseDescribeCallback
public void baseSchemaName(int fieldIndex,
String name)
baseSchemaName in interface DatabaseDescribeCallback
public void sqlFromTable(int fieldIndex,
String name)
sqlFromTable in interface DatabaseDescribeCallback
public void sqlFromSchema(int fieldIndex,
String name)
sqlFromSchema in interface DatabaseDescribeCallback
public void columnAttributes(int fieldIndex,
int updateable,
int searchable,
boolean isIdentity,
boolean isAlwaysGenerated,
boolean isPartOfAnyIndex,
boolean isLoneUniqueIndex,
boolean isPartOfUniqueIndex,
boolean isExpression,
boolean isPrimaryKey,
boolean isNamed,
boolean isRowID,
boolean isRowChangeTimestamp)
columnAttributes in interface DatabaseDescribeCallback
public void setUseDateCache(int column,
boolean b)
public void setUseDateCache(String column,
boolean b)
public void setUseTimeCache(int column,
boolean b)
public void setUseTimeCache(String column,
boolean b)
public void setUseStringCache(int column,
boolean b)
setCacheLastOnly() and use an ORDER BY clause.
public void setUseStringCache(String column,
boolean b)
public void setCacheLastOnly(int column,
boolean b)
setUseStringCache() was called with a value of true
for this column.
public void setCacheLastOnly(String column,
boolean b)
public String getCatalogName(int column)
throws SQLException
getCatalogName in interface ResultSetMetaDataSQLException
public String getColumnClassName(int column)
throws SQLException
getColumnClassName in interface ResultSetMetaDataSQLException
public int getColumnCount()
throws SQLException
getColumnCount in interface ResultSetMetaDataSQLException
public int getColumnDisplaySize(int column)
throws SQLException
getColumnDisplaySize in interface ResultSetMetaDataSQLException
public String getColumnLabel(int column)
throws SQLException
getColumnLabel in interface ResultSetMetaDataSQLException
public String getColumnName(int column)
throws SQLException
getColumnName in interface ResultSetMetaDataSQLException
public int getColumnType(int column)
throws SQLException
getColumnType in interface ResultSetMetaDataSQLException
public String getColumnTypeName(int column)
throws SQLException
getColumnTypeName in interface ResultSetMetaDataSQLException
public int getPrecision(int column)
throws SQLException
getPrecision in interface ResultSetMetaDataSQLException
public int getScale(int column)
throws SQLException
getScale in interface ResultSetMetaDataSQLException
public String getSchemaName(int column)
throws SQLException
getSchemaName in interface ResultSetMetaDataSQLException
public String getTableName(int column)
throws SQLException
getTableName in interface ResultSetMetaDataSQLException
public boolean isAutoIncrement(int column)
throws SQLException
isAutoIncrement in interface ResultSetMetaDataSQLException
public boolean isCaseSensitive(int column)
throws SQLException
isCaseSensitive in interface ResultSetMetaDataSQLException
public boolean isCurrency(int column)
throws SQLException
isCurrency in interface ResultSetMetaDatacolumnIndex - The column index (1-based).
SQLException - If the column index is not valid.
public boolean isDefinitelyWritable(int column)
throws SQLException
isDefinitelyWritable in interface ResultSetMetaDataSQLException
public int isNullable(int column)
throws SQLException
isNullable in interface ResultSetMetaDataSQLException
public boolean isReadOnly(int column)
throws SQLException
isReadOnly in interface ResultSetMetaDataSQLException
public boolean isSearchable(int column)
throws SQLException
isSearchable in interface ResultSetMetaDataSQLException
public boolean isSigned(int column)
throws SQLException
isSigned in interface ResultSetMetaDataSQLException
public boolean isWritable(int column)
throws SQLException
isWritable in interface ResultSetMetaDataSQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||