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.StreamFactoryReference
public InputStreamFactory getStreamFactory() throws SQLException
SQLException
public void setEncoding(String encoding)
public Charset getCharset()
public void setCharset(Charset charset)
public void free()
public Reader getCharacterStream() throws SQLException
SQLException
public InputStream getBinaryStream() throws SQLException
SQLException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public long length() throws SQLException
SQLException
Copyright © 2018 JBoss by Red Hat. All rights reserved.