public interface OracleArray
extends java.sql.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.
|
java.util.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) |
java.lang.String |
getSQLTypeName()
Oracle extension.
|
int |
length()
Oracle extension.
|
java.lang.Object |
toJdbc()
Oracle extension.
|
OracleTypeMetaData getOracleMetaData() throws java.sql.SQLException
java.sql.SQLException - if an error occursint length()
throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.String getSQLTypeName()
throws java.sql.SQLException
Struct object represents.Array object is the generic representationjava.sql.SQLException - if a database access error occursjava.lang.Object toJdbc()
throws java.sql.SQLException
java.sql.SQLException - if conversion to JDBC representation results in
an errorint[] getIntArray()
throws java.sql.SQLException
java.sql.SQLExceptionint[] getIntArray(long index,
int count)
throws java.sql.SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.java.sql.SQLExceptiondouble[] getDoubleArray()
throws java.sql.SQLException
java.sql.SQLExceptiondouble[] getDoubleArray(long index,
int count)
throws java.sql.SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.java.sql.SQLExceptionshort[] getShortArray()
throws java.sql.SQLException
java.sql.SQLExceptionshort[] getShortArray(long index,
int count)
throws java.sql.SQLException
java.sql.SQLExceptionlong[] getLongArray()
throws java.sql.SQLException
java.sql.SQLExceptionlong[] getLongArray(long index,
int count)
throws java.sql.SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.java.sql.SQLExceptionfloat[] getFloatArray()
throws java.sql.SQLException
java.sql.SQLExceptionfloat[] getFloatArray(long index,
int count)
throws java.sql.SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.java.sql.SQLExceptionjava.util.Map<?,?> getJavaMap()
throws java.sql.SQLException
java.sql.SQLException