Android
java.sql
public interface

java.sql.Array

java.sql.Array

A Java representation of the SQL ARRAY type.

Summary

Public Methods

          Object  getArray()
Retrieves the contents of the SQL ARRAY value as a Java array object.
          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.
          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.
          Object  getArray(Map<StringClass<?>> map)
Returns the SQL ARRAY associated with this Array.
          int  getBaseType()
Returns the JDBC type of the entries in this Array's associated array.
          String  getBaseTypeName()
Returns the SQL type name of the entries in the array associated with this Array.
          ResultSet  getResultSet(Map<StringClass<?>> map)
Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.
          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.
          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.
          ResultSet  getResultSet()
Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this Array.

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

Throws

SQLException

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

Throws

SQLException

public 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 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 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 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 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 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 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 ResultSet getResultSet()

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

Returns

  • the ResultSet

Throws

SQLException
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48