All Packages Class Hierarchy This Package Previous Next Index
Class oracle.jdbc.driver.StructMetaData
java.lang.Object
|
+----oracle.jdbc.driver.StructMetaData
- public class StructMetaData
- extends Object
- implements ResultSetMetaData
-
StructMetaData(StructDescriptor)
-
-
getCatalogName(int)
-
-
getColumnClassName(int)
-
-
getColumnCount()
- Get number of attributes.
-
getColumnDisplaySize(int)
- Return maximum column length in case of type CHAR,VARCHAR and RAW;
Return 0 for other cases.
-
getColumnLabel(int)
-
-
getColumnName(int)
- Gets a attribute's name.
-
getColumnType(int)
-
-
getColumnTypeName(int)
- Retrieves a attribute's database-specific type name.
-
getOracleColumnClassName(int)
- 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.
-
getPrecision(int)
-
-
getScale(int)
-
-
getSchemaName(int)
- Gets a attribute's schema name if it's of object type.
-
getTableName(int)
-
-
isAutoIncrement(int)
-
-
isCaseSensitive(int)
-
-
isCurrency(int)
-
-
isDefinitelyWritable(int)
-
-
isNullable(int)
-
-
isReadOnly(int)
-
-
isSearchable(int)
-
-
isSigned(int)
-
-
isWritable(int)
-
StructMetaData
public StructMetaData(StructDescriptor desc) throws SQLException
getColumnCount
public int getColumnCount() throws SQLException
- Get number of attributes.
- Returns:
- number of attribute.
isAutoIncrement
public boolean isAutoIncrement(int column) throws SQLException
isSearchable
public boolean isSearchable(int column) throws SQLException
isCurrency
public boolean isCurrency(int column) throws SQLException
isCaseSensitive
public boolean isCaseSensitive(int column) throws SQLException
isNullable
public int isNullable(int column) throws SQLException
isSigned
public boolean isSigned(int column) throws SQLException
getColumnDisplaySize
public int getColumnDisplaySize(int column) throws SQLException
- Return maximum column length in case of type CHAR,VARCHAR and RAW;
Return 0 for other cases.
getColumnLabel
public String getColumnLabel(int column) throws SQLException
getColumnName
public String getColumnName(int column) throws SQLException
- Gets a attribute's name.
- Parameters:
- column - the first attribue is 1, the second is 2, ...
- Returns:
- attribute name
- Throws: SQLException
- if a database access error occurs
getSchemaName
public String getSchemaName(int column) throws SQLException
- Gets a attribute's schema name if it's of object type.
- Parameters:
- column - the first attribute is 1, the second is 2, ...
- Returns:
- schema name or "" if not applicable
- Throws: SQLException
- if a database access error occurs
getPrecision
public int getPrecision(int column) throws SQLException
getScale
public int getScale(int column) throws SQLException
getTableName
public String getTableName(int column) throws SQLException
getCatalogName
public String getCatalogName(int column) throws SQLException
getColumnType
public int getColumnType(int column) throws SQLException
getColumnTypeName
public String getColumnTypeName(int column) throws SQLException
- Retrieves a attribute's database-specific type name.
- Parameters:
- column - the first attribute is 1, the second is 2, ...
- Returns:
- type name used by the database. If the column type is
a user-defined type, then a fully-qualified type name is returned.
- Throws: SQLException
- if a database access error occurs
isReadOnly
public boolean isReadOnly(int column) throws SQLException
isWritable
public boolean isWritable(int column) throws SQLException
isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws SQLException
getColumnClassName
public String getColumnClassName(int column) throws SQLException
getOracleColumnClassName
public String getOracleColumnClassName(int column) throws SQLException
- 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.
All Packages Class Hierarchy This Package Previous Next Index