public abstract class ColumnMetaData extends Object implements ResultSetMetaData
| Modifier and Type | Field and Description |
|---|---|
Agent |
agent_ |
int[] |
clientParamtertype_ |
int |
columns_ |
LogWriter |
logWriter_ |
ArrayList |
mddOverrideArray_ |
boolean[] |
nullable_ |
int[][] |
protocolTypesCache_ |
Hashtable |
protocolTypeToOverrideLidMapping_ |
int |
resultSetConcurrency_ |
int[] |
singleMixedByteOrDouble_ |
int[] |
sqlCcsid_ |
String[] |
sqlComment_ |
short |
sqldFcode_ |
short |
sqldHold_ |
short |
sqldKeytype_ |
String |
sqldRdbnam_ |
short |
sqldReturn_ |
String |
sqldSchema_ |
short |
sqldScroll_ |
short |
sqldSensitive_ |
String[] |
sqlLabel_ |
long[] |
sqlLength_ |
String[] |
sqlName_ |
int[] |
sqlPrecision_ |
int[] |
sqlScale_ |
int[] |
sqlType_ |
String[] |
sqlUDTclassName_ |
String[] |
sqlUDTname_ |
short[] |
sqlUnnamed_ |
String[] |
sqlxBasename_ |
String[] |
sqlxCorname_ |
short[] |
sqlxGenerated_ |
short[] |
sqlxKeymem_ |
String[] |
sqlxName_ |
short[] |
sqlxParmmode_ |
String[] |
sqlxRdbnam_ |
String[] |
sqlxSchema_ |
int[] |
sqlxUpdatable_ |
int[] |
types_ |
columnNoNulls, columnNullable, columnNullableUnknown| Constructor and Description |
|---|
ColumnMetaData(Agent agent) |
ColumnMetaData(Agent agent,
int upperBound) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
columnIsNotInUnicode(int index) |
void |
copyTo(ColumnMetaData target) |
protected void |
finalize() |
String |
getCatalogName(int column)
What's a column's table's catalog name?
|
String |
getColumnClassName(int column) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int column) |
String |
getColumnLabel(int column) |
String |
getColumnLabelX(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 |
hasLobColumns() |
void |
initializeCache(int upperBound) |
boolean |
isAutoIncrement(int column) |
boolean |
isCaseSensitive(int column) |
boolean |
isCurrency(int column) |
boolean |
isDefinitelyWritable(int column) |
int |
isNullable(int column) |
boolean |
isParameterModeGuessedAsOutput(int parameterIndex) |
boolean |
isReadOnly(int column) |
boolean |
isSearchable(int column) |
boolean |
isSigned(int column) |
boolean |
isWritable(int column) |
short |
primaryKey(int column)
Returns number of primary key columns if this column is part of the primary
key else returns zero.
|
void |
setLogWriter(LogWriter logWriter) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic int columns_
public boolean[] nullable_
public transient int[] singleMixedByteOrDouble_
public short sqldHold_
public short sqldReturn_
public short sqldScroll_
public short sqldSensitive_
public short sqldFcode_
public short sqldKeytype_
public String sqldRdbnam_
public String sqldSchema_
public int[] sqlPrecision_
public int[] sqlScale_
public long[] sqlLength_
public int[] sqlType_
public int[] sqlCcsid_
public String[] sqlName_
public String[] sqlLabel_
public short[] sqlUnnamed_
public String[] sqlComment_
public String[] sqlUDTname_
public String[] sqlUDTclassName_
public short[] sqlxKeymem_
public short[] sqlxGenerated_
public short[] sqlxParmmode_
public String[] sqlxCorname_
public String[] sqlxName_
public String[] sqlxBasename_
public int[] sqlxUpdatable_
public String[] sqlxSchema_
public String[] sqlxRdbnam_
public transient int[][] protocolTypesCache_
public transient Hashtable protocolTypeToOverrideLidMapping_
public transient ArrayList mddOverrideArray_
public transient int[] types_
public transient int[] clientParamtertype_
public transient LogWriter logWriter_
public final transient Agent agent_
public transient int resultSetConcurrency_
public ColumnMetaData(Agent agent)
public ColumnMetaData(Agent agent, int upperBound)
public void copyTo(ColumnMetaData target)
public void initializeCache(int upperBound)
protected void finalize()
throws Throwable
public int getColumnCount()
throws SQLException
getColumnCount in interface ResultSetMetaDataSQLExceptionpublic boolean isAutoIncrement(int column)
throws SQLException
isAutoIncrement in interface ResultSetMetaDataSQLExceptionpublic boolean isCaseSensitive(int column)
throws SQLException
isCaseSensitive in interface ResultSetMetaDataSQLExceptionpublic boolean isSearchable(int column)
throws SQLException
isSearchable in interface ResultSetMetaDataSQLExceptionpublic boolean isCurrency(int column)
throws SQLException
isCurrency in interface ResultSetMetaDataSQLExceptionpublic int isNullable(int column)
throws SQLException
isNullable in interface ResultSetMetaDataSQLExceptionpublic boolean isSigned(int column)
throws SQLException
isSigned in interface ResultSetMetaDataSQLExceptionpublic int getColumnDisplaySize(int column)
throws SQLException
getColumnDisplaySize in interface ResultSetMetaDataSQLExceptionpublic String getColumnLabel(int column) throws SQLException
getColumnLabel in interface ResultSetMetaDataSQLExceptionpublic String getColumnLabelX(int column) throws SqlException
SqlExceptionpublic String getColumnName(int column) throws SQLException
getColumnName in interface ResultSetMetaDataSQLExceptionpublic String getSchemaName(int column) throws SQLException
getSchemaName in interface ResultSetMetaDataSQLExceptionpublic int getPrecision(int column)
throws SQLException
getPrecision in interface ResultSetMetaDataSQLExceptionpublic int getScale(int column)
throws SQLException
getScale in interface ResultSetMetaDataSQLExceptionpublic String getTableName(int column) throws SQLException
getTableName in interface ResultSetMetaDataSQLExceptionpublic String getCatalogName(int column) throws SQLException
getCatalogName in interface ResultSetMetaDatacolumn - the first column is 1, the second is 2, ...SQLException - thrown on failurepublic int getColumnType(int column)
throws SQLException
getColumnType in interface ResultSetMetaDataSQLExceptionpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName in interface ResultSetMetaDataSQLExceptionpublic boolean isReadOnly(int column)
throws SQLException
isReadOnly in interface ResultSetMetaDataSQLExceptionpublic boolean isWritable(int column)
throws SQLException
isWritable in interface ResultSetMetaDataSQLExceptionpublic boolean isDefinitelyWritable(int column)
throws SQLException
isDefinitelyWritable in interface ResultSetMetaDataSQLExceptionpublic String getColumnClassName(int column) throws SQLException
getColumnClassName in interface ResultSetMetaDataSQLExceptionpublic boolean isParameterModeGuessedAsOutput(int parameterIndex)
public void setLogWriter(LogWriter logWriter)
public boolean hasLobColumns()
public boolean columnIsNotInUnicode(int index)
public final short primaryKey(int column)
throws SQLException
SQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.