Uses of Interface
java.sql.Blob

Packages that useBlob
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 ofBlob injava.sql

    Methods injava.sql that returnBlob
    Modifier and Type
    Method
    Description
    Connection.createBlob()
    Constructs an object that implements theBlob interface.
    CallableStatement.getBlob(int parameterIndex)
    Retrieves the value of the designated JDBCBLOB parameter as aBlob object in the Java programming language.
    CallableStatement.getBlob(String parameterName)
    Retrieves the value of a JDBCBLOB parameter as aBlob object in the Java programming language.
    ResultSet.getBlob(int columnIndex)
    Retrieves the value of the designated column in the current row of thisResultSet object as aBlob object in the Java programming language.
    ResultSet.getBlob(String columnLabel)
    Retrieves the value of the designated column in the current row of thisResultSet object as aBlob object in the Java programming language.
    SQLInput.readBlob()
    Reads an SQLBLOB value from the stream and returns it as aBlob object in the Java programming language.
    Methods injava.sql with parameters of typeBlob
    Modifier and Type
    Method
    Description
    long
    Blob.position(Blob pattern, long start)
    Retrieves the byte position in theBLOB value designated by thisBlob object at whichpattern begins.
    void
    CallableStatement.setBlob(String parameterName,Blob x)
    Sets the designated parameter to the givenjava.sql.Blob object.
    void
    PreparedStatement.setBlob(int parameterIndex,Blob x)
    Sets the designated parameter to the givenjava.sql.Blob object.
    void
    ResultSet.updateBlob(int columnIndex,Blob x)
    Updates the designated column with ajava.sql.Blob value.
    void
    ResultSet.updateBlob(String columnLabel,Blob x)
    Updates the designated column with ajava.sql.Blob value.
    void
    SQLOutput.writeBlob(Blob x)
    Writes an SQLBLOB value to the stream.
  • Uses ofBlob injavax.sql

    Methods injavax.sql with parameters of typeBlob
    Modifier and Type
    Method
    Description
    void
    RowSet.setBlob(int i,Blob x)
    Sets the designated parameter in thisRowSet object's command with the givenBlob value.
    void
    RowSet.setBlob(String parameterName,Blob x)
    Sets the designated parameter to the givenjava.sql.Blob object.
  • Uses ofBlob injavax.sql.rowset

    Methods injavax.sql.rowset with parameters of typeBlob
    Modifier and Type
    Method
    Description
    void
    BaseRowSet.setBlob(int parameterIndex,Blob x)
    Sets the designated parameter to the givenBlob object in the Java programming language.
    void
    BaseRowSet.setBlob(String parameterName,Blob x)
    Sets the designated parameter to the givenjava.sql.Blob object.
  • Uses ofBlob injavax.sql.rowset.serial

    Classes injavax.sql.rowset.serial that implementBlob
    Modifier and Type
    Class
    Description
    class 
    A serialized mapping in the Java programming language of an SQLBLOB value.
    Methods injavax.sql.rowset.serial that returnBlob
    Modifier and Type
    Method
    Description
    SQLInputImpl.readBlob()
    Retrieves theBLOB value at the head of thisSQLInputImpl object as aBlob object in the Java programming language.
    Methods injavax.sql.rowset.serial with parameters of typeBlob
    Modifier and Type
    Method
    Description
    long
    SerialBlob.position(Blob pattern, long start)
    Returns the position in thisSerialBlob object where the givenBlob object begins, starting the search at the specified position.
    void
    SQLOutputImpl.writeBlob(Blob x)
    Writes aBlob object in the Java programming language to thisSQLOutputImpl object.
    Constructors injavax.sql.rowset.serial with parameters of typeBlob
    Modifier
    Constructor
    Description
     
    Constructs aSerialBlob object that is a serialized version of the givenBlob object.