Serializable
, oracle.jdbc.internal.ACProxyable
, oracle.jdbc.internal.ObjectData
, oracle.jdbc.internal.OracleTypeMetaData
, oracle.jdbc.internal.OracleTypeMetaData.Struct
, OracleData
, OracleTypeMetaData
, OracleTypeMetaData.Struct
, ORAData
public class StructDescriptor extends TypeDescriptor implements oracle.jdbc.internal.OracleTypeMetaData.Struct, Serializable
There should be a method to return information about the fields (beyond their number. But there is no public representation for that.
oracle.jdbc.internal.OracleTypeMetaData.Array, oracle.jdbc.internal.OracleTypeMetaData.Opaque, oracle.jdbc.internal.OracleTypeMetaData.Struct
OracleTypeMetaData.ArrayStorage, OracleTypeMetaData.Kind
ANYDATASETTOID, ANYDATATOID, ANYTYPETOID, DEBUG_SERIALIZATION, RAWTOID, TYPECODE_BDOUBLE, TYPECODE_BFILE, TYPECODE_BFLOAT, TYPECODE_BLOB, TYPECODE_BOOLEAN, TYPECODE_CFILE, TYPECODE_CHAR, TYPECODE_CLOB, TYPECODE_DATE, TYPECODE_DECIMAL, TYPECODE_DOUBLE, TYPECODE_ERRHP, TYPECODE_FLOAT, TYPECODE_INTEGER, TYPECODE_INTERVAL_DS, TYPECODE_INTERVAL_YM, TYPECODE_ITABLE, TYPECODE_JDBC_ARRAY, TYPECODE_JDBC_JOBJECT, TYPECODE_JDBC_JOPAQUE, TYPECODE_JDBC_JSTRUCT, TYPECODE_JDBC_REF, TYPECODE_JDBC_STRUCT, TYPECODE_MLSLABEL, TYPECODE_NAMEDCOLLECTION, TYPECODE_NCHAR, TYPECODE_NCLOB, TYPECODE_NONE, TYPECODE_NUMBER, TYPECODE_NVARCHAR2, TYPECODE_OBJECT, TYPECODE_OCTET, TYPECODE_OPAQUE, TYPECODE_OTMFIRST, TYPECODE_OTMLAST, TYPECODE_PLS_INTEGER, TYPECODE_PTR, TYPECODE_RAW, TYPECODE_REAL, TYPECODE_RECORD, TYPECODE_REF, TYPECODE_SIGNED16, TYPECODE_SIGNED32, TYPECODE_SIGNED8, TYPECODE_SMALLINT, TYPECODE_SQLXML, TYPECODE_SYSFIRST, TYPECODE_SYSLAST, TYPECODE_TABLE, TYPECODE_TIME, TYPECODE_TIME_TZ, TYPECODE_TIMESTAMP, TYPECODE_TIMESTAMP_LTZ, TYPECODE_TIMESTAMP_TZ, TYPECODE_UNSIGNED16, TYPECODE_UNSIGNED32, TYPECODE_UNSIGNED8, TYPECODE_UROWID, TYPECODE_VARCHAR, TYPECODE_VARCHAR2, TYPECODE_VARRAY, XMLTYPETOID
Modifier and Type | Method | Description |
---|---|---|
static StructDescriptor |
createDescriptor(String name, Connection conn) |
Deprecated.
Descriptor factory.
|
static StructDescriptor |
createDescriptor(String name, Connection conn, boolean recurse, boolean force) |
Deprecated.
Descriptor factory.
|
static StructDescriptor |
createDescriptor(oracle.sql.SQLName name, Connection conn) |
Deprecated.
|
static StructDescriptor |
createDescriptor(oracle.sql.SQLName sqlName, Connection conn, boolean recurse, boolean force) |
Deprecated.
|
String |
descType() |
Deprecated.
Describe this type.
|
AttributeDescriptor[] |
getAttributesDescriptor() |
Deprecated.
|
String |
getJavaClassName() |
Deprecated.
Returns the external name of the JAVA_STRUCT type.
|
OracleTypeMetaData.Kind |
getKind() |
Deprecated.
Return the kind of type.
|
String |
getLanguage() |
Deprecated.
|
int |
getLength() |
Deprecated.
The number of fields in the Object Type.
|
int |
getLocalAttributeCount() |
Deprecated.
Returns the number of attributes defined in the subtype.
|
ResultSetMetaData |
getMetaData() |
Deprecated.
Gets the metadata regarding this type.
|
String[] |
getSubtypeNames() |
Deprecated.
Returns the SQL type names of the direct subtypes.
|
String |
getSupertypeName() |
Deprecated.
Returns the SQL type name of the direct subtype.
|
int |
getTypeCode() |
Deprecated.
Returns type code.
|
int |
getTypeVersion() |
Deprecated.
|
boolean |
isFinalType() |
Deprecated.
Indicates whether the object type is a final type.
|
boolean |
isInstantiable() |
Deprecated.
Indicates whether the object type is instantiable.
|
boolean |
isJavaObject() |
Deprecated.
Indicates whether the object type is a JAVA_STRUCT type or a STRUCT type.
|
boolean |
isSubtype() |
Deprecated.
Indicates whether the object type is a subtype.
|
Datum[] |
toOracleArray(Map attributes) |
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getSchemaName, getSQLName, getTypeCodeName
convToUpperCase, getConnectionDuringExceptionHandling, getInternalTypeCode, getName, getPrecision, getScale, getSubtypeName, getTypeCodeName, initMetadataRecursively, initNamesRecursively, isTransient, isV2available, printXML, printXML, setConnection, setPrecision, setScale, toDatum, toJDBCObject, toXMLString, toXMLString
public static StructDescriptor createDescriptor(String name, Connection conn) throws SQLException
name
- a String naming the type. (Not necessarily fully qualified)conn
- a Connection to a databaseSQLException
public static StructDescriptor createDescriptor(String name, Connection conn, boolean recurse, boolean force) throws SQLException
name
- a String naming the type. (Not necessarily fully qualified)connection
- a Connection to a databaserecurse
- a boolean to specify whether to create descriptors for component objectsforce
- a boolean to specify whether to replace any cached descriptor.SQLException
public static StructDescriptor createDescriptor(oracle.sql.SQLName sqlName, Connection conn, boolean recurse, boolean force) throws SQLException
name
- a String naming the type. (Not necessarily fully qualified)connection
- a Connection to a databaserecurse
- a boolean to specify whether to create descriptors for component objectsforce
- a boolean to specify whether to replace any cached descriptor.SQLException
public static StructDescriptor createDescriptor(oracle.sql.SQLName name, Connection conn) throws SQLException
name
- a String naming the type. (Not necessarily fully qualified)connection
- a Connection to a databaseSQLException
public OracleTypeMetaData.Kind getKind()
OracleTypeMetaData
getKind
in interface OracleTypeMetaData
getKind
in class TypeDescriptor
public int getTypeCode() throws SQLException
TypeDescriptor
getTypeCode
in interface OracleTypeMetaData
getTypeCode
in class TypeDescriptor
SQLException
public int getTypeVersion() throws SQLException
getTypeVersion
in interface OracleTypeMetaData.Struct
SQLException
public AttributeDescriptor[] getAttributesDescriptor()
public int getLength() throws SQLException
getLength
in interface OracleTypeMetaData.Struct
SQLException
public Datum[] toOracleArray(Map attributes) throws SQLException
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface OracleTypeMetaData.Struct
SQLException
public boolean isFinalType() throws SQLException
isFinalType
in interface OracleTypeMetaData.Struct
SQLException
public boolean isSubtype() throws SQLException
isSubtype
in interface OracleTypeMetaData.Struct
SQLException
public boolean isInstantiable() throws SQLException
isInstantiable
in interface OracleTypeMetaData.Struct
SQLException
public boolean isJavaObject() throws SQLException
SQLException
public String getSupertypeName() throws SQLException
getSupertypeName
in interface OracleTypeMetaData.Struct
SQLException
public int getLocalAttributeCount() throws SQLException
getLocalAttributeCount
in interface OracleTypeMetaData.Struct
SQLException
public String[] getSubtypeNames() throws SQLException
getSubtypeNames
in interface OracleTypeMetaData.Struct
SQLException
public String getJavaClassName() throws SQLException
SQLException
public String getLanguage() throws SQLException
SQLException
public String descType() throws SQLException
SQLException