| Modifier and Type | Field and Description |
|---|---|
protected ClientFinalizer |
finalizer |
protected long |
length |
protected int |
lobId |
protected ClientService |
service |
protected boolean |
streamedInput |
protected long |
streamOffset |
| Modifier and Type | Method and Description |
|---|---|
protected long |
checkOffset(long offset,
long length) |
protected void |
clear() |
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long len) |
byte[] |
getBytes(long pos,
int length) |
protected long |
getLength() |
protected HostConnection |
getLobSource(boolean throwOnFailure,
String op) |
long |
length() |
long |
position(Blob pattern,
long start) |
long |
position(byte[] pattern,
long start) |
OutputStream |
setBinaryStream(long pos) |
int |
setBytes(long pos,
byte[] bytes) |
int |
setBytes(long pos,
byte[] bytes,
int boffset,
int len) |
protected long |
streamLength(boolean forceMaterialize) |
void |
truncate(long len) |
protected final ClientService service
protected final int lobId
protected ClientFinalizer finalizer
protected boolean streamedInput
protected long streamOffset
protected long length
protected long streamLength(boolean forceMaterialize)
throws SQLException
SQLExceptionprotected void clear()
public byte[] getBytes(long pos,
int length)
throws SQLException
getBytes in interface BlobSQLExceptionpublic InputStream getBinaryStream() throws SQLException
getBinaryStream in interface BlobSQLExceptionpublic InputStream getBinaryStream(long pos, long len) throws SQLException
getBinaryStream in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes,
int boffset,
int len)
throws SQLException
setBytes in interface BlobSQLExceptionpublic int setBytes(long pos,
byte[] bytes)
throws SQLException
setBytes in interface BlobSQLExceptionpublic OutputStream setBinaryStream(long pos) throws SQLException
setBinaryStream in interface BlobSQLExceptionpublic long position(byte[] pattern,
long start)
throws SQLException
position in interface BlobSQLExceptionpublic long position(Blob pattern, long start) throws SQLException
position in interface BlobSQLExceptionprotected final HostConnection getLobSource(boolean throwOnFailure, String op) throws SQLException
SQLExceptionprotected long getLength()
throws SQLException
SQLExceptionpublic final long length()
throws SQLException
SQLExceptionprotected long checkOffset(long offset,
long length)
throws SQLException
SQLExceptionpublic void truncate(long len)
throws SQLException
SQLExceptionpublic final void free()
throws SQLException
SQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.