Uses of Interface
java.sql.Blob
| 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 JDBC
RowSet
implementations. |
| javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
-
Uses of Blob in java.sql
Methods in java.sql that return Blob Modifier and Type Method Description BlobConnection. createBlob()Constructs an object that implements theBlobinterface.BlobCallableStatement. getBlob(int parameterIndex)Retrieves the value of the designated JDBCBLOBparameter as aBlobobject in the Java programming language.BlobCallableStatement. getBlob(String parameterName)Retrieves the value of a JDBCBLOBparameter as aBlobobject in the Java programming language.BlobResultSet. getBlob(int columnIndex)Retrieves the value of the designated column in the current row of thisResultSetobject as aBlobobject in the Java programming language.BlobResultSet. getBlob(String columnLabel)Retrieves the value of the designated column in the current row of thisResultSetobject as aBlobobject in the Java programming language.BlobSQLInput. readBlob()Reads an SQLBLOBvalue from the stream and returns it as aBlobobject in the Java programming language.Methods in java.sql with parameters of type Blob Modifier and Type Method Description longBlob. position(Blob pattern, long start)Retrieves the byte position in theBLOBvalue designated by thisBlobobject at whichpatternbegins.voidCallableStatement. setBlob(String parameterName, Blob x)Sets the designated parameter to the givenjava.sql.Blobobject.voidPreparedStatement. setBlob(int parameterIndex, Blob x)Sets the designated parameter to the givenjava.sql.Blobobject.voidResultSet. updateBlob(int columnIndex, Blob x)Updates the designated column with ajava.sql.Blobvalue.voidResultSet. updateBlob(String columnLabel, Blob x)Updates the designated column with ajava.sql.Blobvalue.voidSQLOutput. writeBlob(Blob x)Writes an SQLBLOBvalue to the stream. -
Uses of Blob in javax.sql
Methods in javax.sql with parameters of type Blob Modifier and Type Method Description voidRowSet. setBlob(int i, Blob x)Sets the designated parameter in thisRowSetobject's command with the givenBlobvalue.voidRowSet. setBlob(String parameterName, Blob x)Sets the designated parameter to the givenjava.sql.Blobobject. -
Uses of Blob in javax.sql.rowset
Methods in javax.sql.rowset with parameters of type Blob Modifier and Type Method Description voidBaseRowSet. setBlob(int parameterIndex, Blob x)Sets the designated parameter to the givenBlobobject in the Java programming language.voidBaseRowSet. setBlob(String parameterName, Blob x)Sets the designated parameter to the givenjava.sql.Blobobject. -
Uses of Blob in javax.sql.rowset.serial
Classes in javax.sql.rowset.serial that implement Blob Modifier and Type Class Description classSerialBlobA serialized mapping in the Java programming language of an SQLBLOBvalue.Methods in javax.sql.rowset.serial that return Blob Modifier and Type Method Description BlobSQLInputImpl. readBlob()Retrieves theBLOBvalue at the head of thisSQLInputImplobject as aBlobobject in the Java programming language.Methods in javax.sql.rowset.serial with parameters of type Blob Modifier and Type Method Description longSerialBlob. position(Blob pattern, long start)Returns the position in thisSerialBlobobject where the givenBlobobject begins, starting the search at the specified position.voidSQLOutputImpl. writeBlob(Blob x)Writes aBlobobject in the Java programming language to thisSQLOutputImplobject.Constructors in javax.sql.rowset.serial with parameters of type Blob Constructor Description SerialBlob(Blob blob)Constructs aSerialBlobobject that is a serialized version of the givenBlobobject.