|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdbc.driver.StructMetaData
| Field Summary | |
static java.lang.String |
BUILD_DATE
|
static boolean |
PRIVATE_TRACE
|
static boolean |
TRACE
|
| Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
| Constructor Summary | |
StructMetaData(StructDescriptor desc)
|
|
| Method Summary | |
java.lang.String |
getAttributeJavaName(int column)
Gets a JAVA_STRUCT attribute's external name. |
java.lang.String |
getCatalogName(int column)
|
java.lang.String |
getColumnClassName(int column)
|
int |
getColumnCount()
Get number of attributes. |
int |
getColumnDisplaySize(int column)
Return maximum column length in case of type CHAR,VARCHAR and RAW; Return 0 for other cases. |
java.lang.String |
getColumnLabel(int column)
|
java.lang.String |
getColumnName(int column)
Gets a attribute's name. |
int |
getColumnType(int column)
|
java.lang.String |
getColumnTypeName(int column)
Retrieves a attribute's database-specific type name. |
int |
getLocalColumnCount()
Get number of local attributes i.e. |
java.lang.String |
getOracleColumnClassName(int column)
Return the fully-qualified name of the Datum class whose instances are manufactured if the method OracleResultSet.getOracleObject is called to retrieve a value from a column. |
int |
getPrecision(int column)
|
int |
getScale(int column)
|
java.lang.String |
getSchemaName(int column)
Gets a attribute's schema name if it's of object type. |
java.lang.String |
getTableName(int column)
|
boolean |
isAutoIncrement(int column)
|
boolean |
isCaseSensitive(int column)
|
boolean |
isCurrency(int column)
|
boolean |
isDefinitelyWritable(int column)
|
boolean |
isInherited(int column)
Indicates whether the attribute is inherited from its supertype. |
boolean |
isNCHAR(int column)
isNCHAR (int) |
int |
isNullable(int column)
|
boolean |
isReadOnly(int column)
|
boolean |
isSearchable(int column)
|
boolean |
isSigned(int column)
|
boolean |
isWritable(int column)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
public static final java.lang.String BUILD_DATE
| Constructor Detail |
public StructMetaData(StructDescriptor desc)
throws java.sql.SQLException
| Method Detail |
public int getColumnCount()
throws java.sql.SQLException
getColumnCount in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isAutoIncrement(int column)
throws java.sql.SQLException
isAutoIncrement in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isSearchable(int column)
throws java.sql.SQLException
isSearchable in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isCurrency(int column)
throws java.sql.SQLException
isCurrency in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isCaseSensitive(int column)
throws java.sql.SQLException
isCaseSensitive in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public int isNullable(int column)
throws java.sql.SQLException
isNullable in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isSigned(int column)
throws java.sql.SQLException
isSigned in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public int getColumnDisplaySize(int column)
throws java.sql.SQLException
getColumnDisplaySize in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getColumnLabel(int column)
throws java.sql.SQLException
getColumnLabel in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getColumnName(int column)
throws java.sql.SQLException
getColumnName in interface java.sql.ResultSetMetaDatacolumn - the first attribue is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public java.lang.String getSchemaName(int column)
throws java.sql.SQLException
getSchemaName in interface java.sql.ResultSetMetaDatacolumn - the first attribute is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public int getPrecision(int column)
throws java.sql.SQLException
getPrecision in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public int getScale(int column)
throws java.sql.SQLException
getScale in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getTableName(int column)
throws java.sql.SQLException
getTableName in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getCatalogName(int column)
throws java.sql.SQLException
getCatalogName in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public int getColumnType(int column)
throws java.sql.SQLException
getColumnType in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getColumnTypeName(int column)
throws java.sql.SQLException
getColumnTypeName in interface java.sql.ResultSetMetaDatacolumn - the first attribute is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public boolean isReadOnly(int column)
throws java.sql.SQLException
isReadOnly in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isWritable(int column)
throws java.sql.SQLException
isWritable in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public boolean isDefinitelyWritable(int column)
throws java.sql.SQLException
isDefinitelyWritable in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getColumnClassName(int column)
throws java.sql.SQLException
getColumnClassName in interface java.sql.ResultSetMetaDatajava.sql.SQLException
public java.lang.String getOracleColumnClassName(int column)
throws java.sql.SQLException
getOracleColumnClassName in interface StructMetaDatajava.sql.SQLException
public int getLocalColumnCount()
throws java.sql.SQLException
getLocalColumnCount in interface StructMetaDatajava.sql.SQLException - if a database access error occurs
public boolean isInherited(int column)
throws java.sql.SQLException
isInherited in interface StructMetaDatajava.sql.SQLException - if a database access error occurs
public java.lang.String getAttributeJavaName(int column)
throws java.sql.SQLException
getAttributeJavaName in interface StructMetaDatacolumn - the first attribue is 1, the second is 2, ...
java.sql.SQLException - if a database access error occurs
public boolean isNCHAR(int column)
throws java.sql.SQLException
OracleResultSetMetaData
isNCHAR in interface OracleResultSetMetaDatacolumn - the column index
java.sql.SQLException
|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||