Package oracle.jdbc
Interface StructMetaData
- All Superinterfaces:
OracleResultSetMetaData,ResultSetMetaData,Wrapper
An interface to get information about structured column types.
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.jdbc.OracleResultSetMetaData
OracleResultSetMetaData.SecurityAttribute -
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeJavaName(int column) Gets a JAVA_STRUCT attribute's external name.intGet number of local attributes i.e.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.booleanisInherited(int column) Indicates whether the attribute is inherited from its supertype.Methods inherited from interface oracle.jdbc.OracleResultSetMetaData
getAnnotations, getDomainName, getDomainSchema, getScale, getSecurityAttribute, getVectorMetaData, isColumnInvisible, isColumnJSON, isNCHAR, isVariableScaleMethods inherited from interface java.sql.ResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritableMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getAttributeJavaName
Gets a JAVA_STRUCT attribute's external name.- Parameters:
column- the first attribute is 1, the second is 2, ...- Returns:
- attribute external name; return null if the attribute is not an attribute of a JAVA_STRUCT object.
- Throws:
SQLException- if a database access error occurs- Since:
- 8.2.0
-
getOracleColumnClassName
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.- Parameters:
column-- Returns:
- Throws:
SQLException
-
isInherited
Indicates whether the attribute is inherited from its supertype.- Parameters:
column-- Returns:
- true is the attribute is inherited from the object type's supertype(s). Returns false if the attribute is defined in the subtype.
- Throws:
SQLException- if a database access error occurs- Since:
- 8.2.0
-
getLocalColumnCount
Get number of local attributes i.e. not inherited from its supertype.- Returns:
- number of local attribute.
- Throws:
SQLException- if a database access error occurs- Since:
- 8.2.0
-