API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql.rowset.serial. SerialArray View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      SerialArray
Implements
 Array
 Serializable
 Cloneable
Subclasses
Description
public class SerialArray
  A serialized version of an Array object, which is the mapping in the Java programming language of an SQL ARRAY value.
See also:   
Constructors
public SerialArray (Array array) throws SerialException SQLException
  Constructs a new SerialArray object from the given Array object.
public SerialArray (Array array, Map<String, Class<Object>> map) throws SerialException SQLException
  Constructs a new SerialArray object from the given Array object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.
Methods
Hide/Show inherited methods
public void free () throws SQLException [Specified in Array]
  This method frees the Array object and releases the resources that it holds.
public Object getArray () throws SerialException [Specified in Array]
  Returns a new array that is a copy of this SerialArray object.
public Object getArray (long index, int count) throws SerialException [Specified in Array]
  Returns a new array that is a copy of a slice of this SerialArray object, starting with the element at the given index and containing the given number of consecutive elements.
public Object getArray (long index, int count, Map<String, Class<Object>> map) throws SerialException [Specified in Array]
  Returns a new array that is a copy of a slice of this SerialArray object, starting with the element at the given index and containing the given number of consecutive elements.
public Object getArray (Map<String, Class<Object>> map) throws SerialException [Specified in Array]
  Returns a new array that is a copy of this SerialArray object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.
public int getBaseType () throws SerialException [Specified in Array]
  Retrieves the SQL type of the elements in this SerialArray object.
public String getBaseTypeName () throws SerialException [Specified in Array]
  Retrieves the DBMS-specific type name for the elements in this SerialArray object.
public ResultSet getResultSet () throws SerialException [Specified in Array]
  Retrieves a ResultSet object that contains all of the elements in the ARRAY value that this SerialArray object represents.
public ResultSet getResultSet (long index, int count) throws SerialException [Specified in Array]
  Retrieves a ResultSet object holding the elements of the subarray that starts at index index and contains up to count successive elements.
public ResultSet getResultSet (long index, int count, Map<String, Class<Object>> map) throws SerialException [Specified in Array]
  Retrieves a result set holding the elements of the subarray that starts at Retrieves a ResultSet object that contains a subarray of the elements in this SerialArray object, starting at index index and containing up to count successive elements.
public ResultSet getResultSet (Map<String, Class<Object>> map) throws SerialException [Specified in Array]
  Retrieves a ResultSet object that contains all of the elements of the SQL ARRAY value represented by this SerialArray object.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-8466174297270688520"
The identifier that assists in the serialization of this SerialArray object.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar