public class BlobClob extends AbstractClob
| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Returns the length of this Clob, in characters.
|
java.lang.Object |
getLocator()
Returns an object which identifies the Lob data, which may be null if
not supported.
|
protected Blob |
getWrappedBlob() |
java.io.Reader |
openReader()
Returns a Reader for reading Clob data, positioned at the start.
|
java.io.Reader |
openReader(long pos)
Returns a Reader for reading Clob data.
|
java.io.Reader |
openReader(long pos,
int bufferSize)
Returns a Reader for reading Clob data.
|
java.io.Writer |
openWriter()
Returns a Writer for writing Clob data, positioned at the start.
|
java.io.Writer |
openWriter(long pos)
Returns a Writer for writing Clob data.
|
java.io.Writer |
openWriter(long pos,
int bufferSize)
Returns a Writer for writing Clob data.
|
void |
setLength(long length)
Set the length of this Clob, in characters.
|
public BlobClob(Blob blob)
blob - blob to wrappublic java.io.Reader openReader()
throws FetchException
ClobFetchExceptionpublic java.io.Reader openReader(long pos)
throws FetchException
Clobpos - desired zero-based position to read fromFetchExceptionpublic java.io.Reader openReader(long pos,
int bufferSize)
throws FetchException
Clobpos - desired zero-based position to read frombufferSize - suggest that the reader buffer be at least this large (in characters)FetchExceptionpublic long getLength()
throws FetchException
ClobFetchExceptionpublic java.io.Writer openWriter()
throws PersistException
ClobPersistExceptionpublic java.io.Writer openWriter(long pos)
throws PersistException
Clobpos - desired zero-based position to write toPersistExceptionpublic java.io.Writer openWriter(long pos,
int bufferSize)
throws PersistException
Clobpos - desired zero-based position to write tobufferSize - suggest that the writer buffer be at least this large (in characters)PersistExceptionpublic void setLength(long length)
throws PersistException
Cloblength - new length to set toPersistDeniedException - if Clob is read-onlyPersistExceptionpublic java.lang.Object getLocator()
Lobprotected Blob getWrappedBlob()
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.