Uses of Interface
java.sql.Array

Packages that useArray
Package
Description
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
javax.sql
Provides the API for server side data source access and processing from the Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBCRowSet implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
  • Uses ofArray injava.sql

    Methods injava.sql that returnArray
    Modifier and Type
    Method
    Description
    Connection.createArrayOf(String typeName,Object[] elements)
    Factory method for creating Array objects.
    CallableStatement.getArray(int parameterIndex)
    Retrieves the value of the designated JDBCARRAY parameter as anArray object in the Java programming language.
    CallableStatement.getArray(String parameterName)
    Retrieves the value of a JDBCARRAY parameter as anArray object in the Java programming language.
    ResultSet.getArray(int columnIndex)
    Retrieves the value of the designated column in the current row of thisResultSet object as anArray object in the Java programming language.
    ResultSet.getArray(String columnLabel)
    Retrieves the value of the designated column in the current row of thisResultSet object as anArray object in the Java programming language.
    SQLInput.readArray()
    Reads an SQLARRAY value from the stream and returns it as anArray object in the Java programming language.
    Methods injava.sql with parameters of typeArray
    Modifier and Type
    Method
    Description
    void
    PreparedStatement.setArray(int parameterIndex,Array x)
    Sets the designated parameter to the givenjava.sql.Array object.
    void
    ResultSet.updateArray(int columnIndex,Array x)
    Updates the designated column with ajava.sql.Array value.
    void
    ResultSet.updateArray(String columnLabel,Array x)
    Updates the designated column with ajava.sql.Array value.
    void
    SQLOutput.writeArray(Array x)
    Writes an SQLARRAY value to the stream.
  • Uses ofArray injavax.sql

    Methods injavax.sql with parameters of typeArray
    Modifier and Type
    Method
    Description
    void
    RowSet.setArray(int i,Array x)
    Sets the designated parameter in thisRowSet object's command with the givenArray value.
  • Uses ofArray injavax.sql.rowset

    Methods injavax.sql.rowset with parameters of typeArray
    Modifier and Type
    Method
    Description
    void
    BaseRowSet.setArray(int parameterIndex,Array array)
    Sets the designated parameter to anArray object in the Java programming language.
  • Uses ofArray injavax.sql.rowset.serial

    Classes injavax.sql.rowset.serial that implementArray
    Modifier and Type
    Class
    Description
    class 
    A serialized version of anArray object, which is the mapping in the Java programming language of an SQLARRAY value.
    Methods injavax.sql.rowset.serial that returnArray
    Modifier and Type
    Method
    Description
    SQLInputImpl.readArray()
    Reads an SQLARRAY value from the stream and returns it as anArray object in the Java programming language.
    Methods injavax.sql.rowset.serial with parameters of typeArray
    Modifier and Type
    Method
    Description
    void
    SQLOutputImpl.writeArray(Array x)
    Writes anArray object in the Java programming language to thisSQLOutputImpl object.
    Constructors injavax.sql.rowset.serial with parameters of typeArray
    Modifier
    Constructor
    Description
     
    Constructs a newSerialArray object from the givenArray object.
     
    SerialArray(Array array,Map<String,Class<?>> map)
    Constructs a newSerialArray object from the givenArray object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.