java.sql
public
interface
java.sql.Array
A Java representation of the SQL ARRAY type.
Summary
Public Methods
|
|
|
|
|
Object |
getArray() |
|
|
|
|
|
Object |
getArray(long index, int count) |
|
|
|
|
|
Object |
getArray(long index, int count, Map<String, Class<?>> map) |
|
|
|
|
|
Object |
getArray(Map<String, Class<?>> map) |
|
|
|
|
|
int |
getBaseType() |
|
|
|
|
|
String |
getBaseTypeName() |
|
|
|
|
|
ResultSet |
getResultSet(Map<String, Class<?>> map) |
|
|
|
|
|
ResultSet |
getResultSet(long index, int count, Map<String, Class<?>> map) |
|
|
|
|
|
ResultSet |
getResultSet(long index, int count) |
|
|
|
|
|
ResultSet |
getResultSet() |
Details
Public Methods
public
Object
getArray()
Retrieves the contents of the SQL ARRAY value as a Java array object.
Returns
- A Java array containing the elements of this Array
public
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.
Returns
- A Java array containing the subportion of elements of this Array
public
Object
getArray(long index, int count, Map<String, Class<?>> map)
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.
Returns
- A Java array containing the subportion of elements of this Array
Returns the SQL ARRAY associated with this Array.
Returns
- A Java array containing the elements of this Array
public
int
getBaseType()
Returns the JDBC type of the entries in this Array's associated array.
Returns
- An integer constant from the java.sql.Types class
public
String
getBaseTypeName()
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.
Returns a ResultSet object which holds the entries of the SQL ARRAY
associated with this Array.
public
ResultSet
getResultSet(long index, int count, Map<String, Class<?>> map)
Returns a ResultSet object that holds the entries of a subarray,
beginning at a particular index and comprising up to count successive
entries.
public
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.
public
ResultSet
getResultSet()
Returns a ResultSet object which holds the entries of the SQL ARRAY
associated with this Array.