Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.sql
Interface Array


public interface Array

A Java representation of the SQL ARRAY type.


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Method Summary
 java.lang.Object getArray()
          Retrieves the contents of the SQL ARRAY value as a Java array object.
 java.lang.Object getArray(long index, int count)
          Returns part of the SQL ARRAY associated with this Array, starting at a particular index and comprising up to count successive elements of the SQL array.
 int getBaseType()
          Returns the JDBC type of the entries in this Array's associated array.
 java.lang.String getBaseTypeName()
          Returns the SQL type name of the entries in the array associated with this Array.
 ResultSet getResultSet()
          Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.
 ResultSet getResultSet(long index, int count)
          Returns a ResultSet object that holds the entries of a subarray, beginning at a particular index and comprising up to count successive entries.
 

Field Detail

CLASS_INSTANCE

static final java.lang.Class CLASS_INSTANCE
Method Detail

getArray

java.lang.Object getArray()
                          throws SQLException
Retrieves the contents of the SQL ARRAY value as a Java array object.

Returns:
A Java array containing the elements of this Array
Throws:
SQLException

getArray

java.lang.Object getArray(long index,
                          int count)
                          throws SQLException
Returns part of the SQL ARRAY associated with this Array, starting at a particular index and comprising up to count successive elements of the SQL array.

Parameters:
index -
count -
Returns:
A Java array containing the subportion of elements of this Array
Throws:
SQLException

getBaseType

int getBaseType()
                throws SQLException
Returns the JDBC type of the entries in this Array's associated array.

Returns:
An integer constant from the java.sql.Types class
Throws:
SQLException

getBaseTypeName

java.lang.String getBaseTypeName()
                                 throws SQLException
Returns the SQL type name of the entries in the array associated with this Array.

Returns:
The database specific name or a fully-qualified SQL type name.
Throws:
SQLException

getResultSet

ResultSet getResultSet()
                       throws SQLException
Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.

Returns:
the ResultSet
Throws:
SQLException

getResultSet

ResultSet getResultSet(long index,
                       int count)
                       throws SQLException
Returns a ResultSet object that holds the entries of a subarray, beginning at a particular index and comprising up to count successive entries.

Parameters:
index -
count -
Returns:
the ResultSet
Throws:
SQLException

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.