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

Constructor Index

 o StructMetaData(StructDescriptor)

Method Index

 o getCatalogName(int)
 o getColumnClassName(int)
 o getColumnCount()
Get number of attributes.
 o getColumnDisplaySize(int)
Return maximum column length in case of type CHAR,VARCHAR and RAW; Return 0 for other cases.
 o getColumnLabel(int)
 o getColumnName(int)
Gets a attribute's name.
 o getColumnType(int)
 o getColumnTypeName(int)
Retrieves a attribute's database-specific type name.
 o 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.
 o getPrecision(int)
 o getScale(int)
 o getSchemaName(int)
Gets a attribute's schema name if it's of object type.
 o getTableName(int)
 o isAutoIncrement(int)
 o isCaseSensitive(int)
 o isCurrency(int)
 o isDefinitelyWritable(int)
 o isNullable(int)
 o isReadOnly(int)
 o isSearchable(int)
 o isSigned(int)
 o isWritable(int)

Constructors

 o StructMetaData
 public StructMetaData(StructDescriptor desc) throws SQLException

Methods

 o getColumnCount
 public int getColumnCount() throws SQLException
Get number of attributes.

Returns:
number of attribute.
 o isAutoIncrement
 public boolean isAutoIncrement(int column) throws SQLException
 o isSearchable
 public boolean isSearchable(int column) throws SQLException
 o isCurrency
 public boolean isCurrency(int column) throws SQLException
 o isCaseSensitive
 public boolean isCaseSensitive(int column) throws SQLException
 o isNullable
 public int isNullable(int column) throws SQLException
 o isSigned
 public boolean isSigned(int column) throws SQLException
 o 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.

 o getColumnLabel
 public String getColumnLabel(int column) throws SQLException
 o 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
 o 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
 o getPrecision
 public int getPrecision(int column) throws SQLException
 o getScale
 public int getScale(int column) throws SQLException
 o getTableName
 public String getTableName(int column) throws SQLException
 o getCatalogName
 public String getCatalogName(int column) throws SQLException
 o getColumnType
 public int getColumnType(int column) throws SQLException
 o 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
 o isReadOnly
 public boolean isReadOnly(int column) throws SQLException
 o isWritable
 public boolean isWritable(int column) throws SQLException
 o isDefinitelyWritable
 public boolean isDefinitelyWritable(int column) throws SQLException
 o getColumnClassName
 public String getColumnClassName(int column) throws SQLException
 o 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