| [ Web Proxy ] |
| Viewing: https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/class-use/Blob.html | [Back] [Original] |
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
Blob |
Connection.createBlob() |
Constructs an object that implements the
Blob interface. |
Blob |
CallableStatement.getBlob(int parameterIndex) |
Retrieves the value of the designated JDBC
BLOB parameter as a
Blob object in the Java programming language. |
Blob |
CallableStatement.getBlob(String parameterName) |
Retrieves the value of a JDBC
BLOB parameter as a
Blob object in the Java programming language. |
Blob |
ResultSet.getBlob(int columnIndex) |
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Blob object
in the Java programming language. |
Blob |
ResultSet.getBlob(String columnLabel) |
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Blob object
in the Java programming language. |
Blob |
SQLInput.readBlob() |
Reads an SQL
BLOB value from the stream and returns it as a
Blob object in the Java programming language. |
| Modifier and Type | Method | Description |
|---|---|---|
long |
Blob.position(Blob pattern,
long start) |
Retrieves the byte position in the
BLOB value
designated by this Blob object at which
pattern begins. |
void |
CallableStatement.setBlob(String parameterName,
Blob x) |
Sets the designated parameter to the given
java.sql.Blob object. |
void |
PreparedStatement.setBlob(int parameterIndex,
Blob x) |
Sets the designated parameter to the given
java.sql.Blob object. |
void |
ResultSet.updateBlob(int columnIndex,
Blob x) |
Updates the designated column with a
java.sql.Blob value. |
void |
ResultSet.updateBlob(String columnLabel,
Blob x) |
Updates the designated column with a
java.sql.Blob value. |
void |
SQLOutput.writeBlob(Blob x) |
Writes an SQL
BLOB value to the stream. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RowSet.setBlob(int i,
Blob x) |
Sets the designated parameter in this
RowSet object's command
with the given Blob value. |
void |
RowSet.setBlob(String parameterName,
Blob x) |
Sets the designated parameter to the given
java.sql.Blob object. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BaseRowSet.setBlob(int parameterIndex,
Blob x) |
Sets the designated parameter to the given
Blob object in
the Java programming language. |
void |
BaseRowSet.setBlob(String parameterName,
Blob x) |
Sets the designated parameter to the given
java.sql.Blob object. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SerialBlob |
A serialized mapping in the Java programming language of an SQL
BLOB value. |
| Modifier and Type | Method | Description |
|---|---|---|
Blob |
SQLInputImpl.readBlob() |
Retrieves the
BLOB value at the head of this
SQLInputImpl object as a Blob object
in the Java programming language. |
| Modifier and Type | Method | Description |
|---|---|---|
long |
SerialBlob.position(Blob pattern,
long start) |
Returns the position in this
SerialBlob object where
the given Blob object begins, starting the search at the
specified position. |
void |
SQLOutputImpl.writeBlob(Blob x) |
Writes a
Blob object in the Java programming language
to this SQLOutputImpl object. |
| Constructor | Description |
|---|---|
SerialBlob(Blob blob) |
Constructs a
SerialBlob object that is a serialized
version of the given Blob object. |
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
| Web Proxy Viewer | New URL | Original Page |