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.SQLException
java.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.SQLException
int[] 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.SQLException
double[] getDoubleArray() throws java.sql.SQLException
java.sql.SQLException
double[] 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.SQLException
short[] getShortArray() throws java.sql.SQLException
java.sql.SQLException
short[] getShortArray(long index, int count) throws java.sql.SQLException
java.sql.SQLException
long[] getLongArray() throws java.sql.SQLException
java.sql.SQLException
long[] 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.SQLException
float[] getFloatArray() throws java.sql.SQLException
java.sql.SQLException
float[] 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.SQLException
java.util.Map<?,?> getJavaMap() throws java.sql.SQLException
java.sql.SQLException