public interface OracleArray extends Array
Array.
Generally any new code should avoid the direct use of the class ARRAY. For variable declarations use the interface Array or this interface as required. For creating a OracleArray use OracleConnection.createOracleArray(java.lang.String, java.lang.Object).
| Modifier and Type | Method and Description |
|---|---|
double[] |
getDoubleArray()
Oracle extension.
|
double[] |
getDoubleArray(long index, int count)
Oracle extension.
|
float[] |
getFloatArray()
Oracle extension.
|
float[] |
getFloatArray(long index, int count)
Oracle extension.
|
int[] |
getIntArray()
Oracle extension.
|
int[] |
getIntArray(long index, int count)
Oracle extension.
|
Map<?,?> |
getJavaMap()
Analogous to getArray except that it returns indices and elements of the SQL associative array as java.util.Map.
|
long[] |
getLongArray()
Oracle extension.
|
long[] |
getLongArray(long index, int count)
Oracle extension.
|
OracleTypeMetaData |
getOracleMetaData()
Oracle extension.
|
short[] |
getShortArray()
Oracle extension.
|
short[] |
getShortArray(long index, int count) |
String |
getSQLTypeName()
Oracle extension.
|
int |
length()
Oracle extension.
|
Object |
toJdbc()
Oracle extension.
|
free, getArray, getArray, getArray, getArray, getBaseType, getBaseTypeName, getResultSet, getResultSet, getResultSet, getResultSetOracleTypeMetaData getOracleMetaData() throws SQLException
SQLException - if an error occursint length()
throws SQLException
SQLExceptionString getSQLTypeName() throws SQLException
Struct object represents.Array object is the generic representationSQLException - if a database access error occursObject toJdbc() throws SQLException
SQLException - if conversion to JDBC representation results in an errorint[] getIntArray()
throws SQLException
SQLExceptionint[] getIntArray(long index,
int count)
throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLExceptiondouble[] getDoubleArray()
throws SQLException
SQLExceptiondouble[] getDoubleArray(long index,
int count)
throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLExceptionshort[] getShortArray()
throws SQLException
SQLExceptionshort[] getShortArray(long index,
int count)
throws SQLException
SQLExceptionlong[] getLongArray()
throws SQLException
SQLExceptionlong[] getLongArray(long index,
int count)
throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLExceptionfloat[] getFloatArray()
throws SQLException
SQLExceptionfloat[] getFloatArray(long index,
int count)
throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLExceptionMap<?,?> getJavaMap() throws SQLException
SQLException