加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218033808/http://developer.android.com:80/reference/java/sql/Array.html
public interface

Array

java.sql.Array

Class Overview

A Java representation of the SQL ARRAY type.

Summary

Public Methods
abstract Object getArray()
Retrieves the contents of the SQL ARRAY value as a Java array object.
abstract 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.
abstract Object getArray(long index, int count, Map<StringClass<?>> 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.
abstract Object getArray(Map<StringClass<?>> map)
Returns the SQL ARRAY associated with this Array.
abstract int getBaseType()
Returns the JDBC type of the entries in this Array's associated array.
abstract String getBaseTypeName()
Returns the SQL type name of the entries in the array associated with this Array.
abstract ResultSet getResultSet(Map<StringClass<?>> map)
Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.
abstract ResultSet getResultSet(long index, int count, Map<StringClass<?>> map)
Returns a ResultSet object that holds the entries of a subarray, beginning at a particular index and comprising up to count successive entries.
abstract 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.
abstract ResultSet getResultSet()
Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.

Public Methods

public abstract 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
Throws
SQLException

public abstract 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
Throws
SQLException

public abstract Object getArray (long index, int count, Map<StringClass<?>> 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
Throws
SQLException

public abstract Object getArray (Map<StringClass<?>> map)

Returns the SQL ARRAY associated with this Array.

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

public abstract 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
Throws
SQLException

public abstract 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.
Throws
SQLException

public abstract ResultSet getResultSet (Map<StringClass<?>> map)

Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.

Returns
  • the ResultSet
Throws
SQLException

public abstract ResultSet getResultSet (long index, int count, Map<StringClass<?>> map)

Returns a ResultSet object that holds the entries of a subarray, beginning at a particular index and comprising up to count successive entries.

Returns
  • the ResultSet
Throws
SQLException

public abstract 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.

Returns
  • the ResultSet
Throws
SQLException

public abstract ResultSet getResultSet ()

Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.

Returns
  • the ResultSet
Throws
SQLException