public class BaseLob extends Object implements Externalizable, InputStreamFactory.StreamFactoryReference
| Modifier | Constructor and Description |
|---|---|
|
BaseLob() |
protected |
BaseLob(InputStreamFactory streamFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
InputStream |
getBinaryStream() |
Reader |
getCharacterStream() |
Charset |
getCharset() |
InputStreamFactory |
getStreamFactory() |
long |
length()
Returns the number of bytes.
|
void |
readExternal(ObjectInput in) |
void |
setCharset(Charset charset) |
void |
setEncoding(String encoding) |
void |
setStreamFactory(InputStreamFactory streamFactory) |
void |
writeExternal(ObjectOutput out) |
public BaseLob()
protected BaseLob(InputStreamFactory streamFactory)
public void setStreamFactory(InputStreamFactory streamFactory)
setStreamFactory in interface InputStreamFactory.StreamFactoryReferencepublic InputStreamFactory getStreamFactory() throws SQLException
SQLExceptionpublic void setEncoding(String encoding)
public Charset getCharset()
public void setCharset(Charset charset)
public void free()
public Reader getCharacterStream() throws SQLException
SQLExceptionpublic InputStream getBinaryStream() throws SQLException
SQLExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic long length()
throws SQLException
SQLExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.