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 occurs
int 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 error
int[] getIntArray()
           throws SQLException
SQLException
int[] getIntArray(long index,
                  int count)
           throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLException
double[] getDoubleArray()
                 throws SQLException
SQLException
double[] getDoubleArray(long index,
                        int count)
                 throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLException
short[] getShortArray()
               throws SQLException
SQLException
short[] getShortArray(long index,
                      int count)
               throws SQLException
SQLException
long[] getLongArray()
             throws SQLException
SQLException
long[] getLongArray(long index,
                    int count)
             throws SQLException
index - the index of the first element to be returnedcount - the number of elements to be returned.SQLException
float[] getFloatArray()
               throws SQLException
SQLException
float[] 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