| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ResultSetImpl | creatorResultSet
The ResultSet that created this BLOB |
| private ExceptionInterceptor | |
| private int | |
| private int | |
| private List | |
| private List | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | BlobFromLocator(ResultSetImpl
result set creatorResultSetToSet, int column index blobColumnIndex, ExceptionInterceptor exception interceptor exceptionInterceptor)Creates an updatable BLOB that can update in-place |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv PreparedStatement | |
| public void | free()
Implements java. This method frees the |
| public InputStream | getBinaryStream()
Implements java. Retrieves the |
| public InputStream | getBinaryStream(long
the offset to the first byte of the partial value to be
retrieved. The first byte in the pos, long Blob is at position 1.the length in bytes of the partial value to be retrieved length)Implements java. Returns an |
| public byte[] | getBytes(long
the ordinal position of the first byte in the
pos, int BLOB value to be extracted; the first byte is at
position 1the number of consecutive bytes to be copied; the value
for length must be 0 or greater length)Implements java. Retrieves all or part of the |
| pack-priv byte[] | |
| public long | length()
Implements java. Returns the number of bytes in the |
| private void | |
| public long | position(Blob
the pattern, long Blob object designating
the BLOB value for which to searchthe position in the start)BLOB value
at which to begin searching; the first position is 1Implements java. Retrieves the byte position in the |
| public long | position(byte[]
the byte array for which to search pattern, long the position at which to begin searching; the
first position is 1 start)Implements java. Retrieves the byte position at which the specified byte array
|
| public OutputStream | setBinaryStream(long
the position in the indexToWriteAt)BLOB value at which
to start writing; the first position is 1Implements java. Retrieves a stream that can be used to write to the |
| public int | setBytes(long
the position in the writeAt, byte[] BLOB object at which
to start writing; the first position is 1the array of bytes to be written to this bytes, int BLOB
objectthe offset into the array offset, int bytes at which
to start reading the bytes to be setthe number of bytes to be written to the length)BLOB
value from the array of bytes bytesImplements java. Writes all or part of the given |
| public int | setBytes(long
the position in the writeAt, byte[] BLOB object at which
to start writing; the first position is 1the array of bytes to be written to the bytes)BLOB
value that this Blob object representsImplements java. Writes the given array of bytes to the |
| public void | truncate(long
the length, in bytes, to which the length)BLOB value
that this Blob object represents should be truncatedImplements java. Truncates the |
| blobColumnName | back to summary |
|---|---|
| private String blobColumnName | |
| creatorResultSet | back to summary |
|---|---|
| private ResultSetImpl creatorResultSet The ResultSet that created this BLOB | |
| exceptionInterceptor | back to summary |
|---|---|
| private ExceptionInterceptor exceptionInterceptor | |
| numColsInResultSet | back to summary |
|---|---|
| private int numColsInResultSet | |
| numPrimaryKeys | back to summary |
|---|---|
| private int numPrimaryKeys | |
| primaryKeyColumns | back to summary |
|---|---|
| private List<String> primaryKeyColumns | |
| primaryKeyValues | back to summary |
|---|---|
| private List<String> primaryKeyValues | |
| quotedId | back to summary |
|---|---|
| private String quotedId | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| BlobFromLocator | back to summary |
|---|---|
| public BlobFromLocator(ResultSetImpl creatorResultSetToSet, int blobColumnIndex, ExceptionInterceptor exceptionInterceptor) throws SQLException Creates an updatable BLOB that can update in-place
| |
| createGetBytesStatement | back to summary |
|---|---|
| pack-priv PreparedStatement createGetBytesStatement() throws SQLException | |
| free | back to summary |
|---|---|
| public void free() throws SQLException Implements java. Doc from java. This method frees the
After
| |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream() throws SQLException Implements java. Doc from java. Retrieves the
| |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream(long pos, long length) throws SQLException Implements java. Doc from java. Returns an
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes(long pos, int length) throws SQLException Implements java. Doc from java. Retrieves all or part of the
| |
| getBytesInternal | back to summary |
|---|---|
| pack-priv byte[] getBytesInternal(PreparedStatement pStmt, long pos, int length) throws SQLException | |
| length | back to summary |
|---|---|
| public long length() throws SQLException Implements java. Doc from java. Returns the number of bytes in the
| |
| notEnoughInformationInQuery | back to summary |
|---|---|
| private void notEnoughInformationInQuery() throws SQLException | |
| position | back to summary |
|---|---|
| public long position(Blob pattern, long start) throws SQLException Implements java. Doc from java. Retrieves the byte position in the
| |
| position | back to summary |
|---|---|
| public long position(byte[] pattern, long start) throws SQLException Implements java. Doc from java. Retrieves the byte position at which the specified byte array
| |
| setBinaryStream | back to summary |
|---|---|
| public OutputStream setBinaryStream(long indexToWriteAt) throws SQLException Implements java. Doc from java. Retrieves a stream that can be used to write to the Note If the value specified for
| |
| setBytes | back to summary |
|---|---|
| public int setBytes(long writeAt, byte[] bytes, int offset, int length) throws SQLException Implements java. Doc from java. Writes all or part of the given Note If the value specified for
| |
| setBytes | back to summary |
|---|---|
| public int setBytes(long writeAt, byte[] bytes) throws SQLException Implements java. Doc from java. Writes the given array of bytes to the Note If the value specified for
| |
| truncate | back to summary |
|---|---|
| public void truncate(long length) throws SQLException Implements java. Doc from java. Truncates the Note If the value specified for
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv long | |
| pack-priv PreparedStatement |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| public int | read(byte[]
the buffer into which the data is read. b)Overrides java. Reads some number of bytes from the input stream and stores them into
the buffer array |
| currentPositionInBlob | back to summary |
|---|---|
| pack-priv long currentPositionInBlob | |
| length | back to summary |
|---|---|
| pack-priv long length | |
| pStmt | back to summary |
|---|---|
| pack-priv PreparedStatement pStmt | |
| LocatorInputStream | back to summary |
|---|---|
| pack-priv LocatorInputStream() throws SQLException | |
| LocatorInputStream | back to summary |
|---|---|
pack-priv LocatorInputStream(long pos, long len) throws SQLException
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| read | back to summary |
|---|---|
| public int read(byte[] b) throws IOException Overrides java. Doc from java. Reads some number of bytes from the input stream and stores them into
the buffer array If the length of The first byte read is stored into element
| |