Package oracle.jdbc
Interface OracleTypeMetaData.Array
- All Superinterfaces:
OracleTypeMetaData
- All Known Implementing Classes:
ArrayDescriptor
- Enclosing interface:
- OracleTypeMetaData
This nested interface defines additional methods for array types
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.jdbc.OracleTypeMetaData
OracleTypeMetaData.Array, OracleTypeMetaData.ArrayStorage, OracleTypeMetaData.Kind, OracleTypeMetaData.Opaque, OracleTypeMetaData.Struct -
Method Summary
Modifier and TypeMethodDescriptionReturn the database type of the array.In case the elements are named types the fully qualified name of their type.Otherwise, return type name used by the databaseintReturn element's type code.longReturn the maximum number of elements this array object can hold.Methods inherited from interface oracle.jdbc.OracleTypeMetaData
getKind, getName, getSchemaName, getSQLName, getTypeCode, getTypeCodeName
-
Method Details
-
getBaseType
Return element's type code.- Returns:
- the type code of elements of the array
- Throws:
SQLException
-
getBaseName
In case the elements are named types the fully qualified name of their type.Otherwise, return type name used by the database- Returns:
- the name of the base type.
- Throws:
SQLException- if the element's type is not named.
-
getArrayStorage
Return the database type of the array. The possible return values ArrayStorage.VARRAY and ArrayStorage.NESTED_TABLE.- Returns:
- how the array is stored in the database
- Throws:
SQLException
-
getMaxLength
Return the maximum number of elements this array object can hold.- Returns:
- the maximum array size; return 0 if no limit.
- Throws:
SQLException
-