Class ExportDumpClob
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
-
- de.akquinet.jbosscc.guttenbase.export.ExportDumpClob
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Clob
public class ExportDumpClob extends AbstractExportDumpObject implements Clob
Since CLOBs may be quite big. we do not load them into memory completely, but read them in chunks and write the data to the output stream in a loop.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
DEFAULT_BUFFER_SIZE
-
-
Constructor Summary
Constructors Constructor Description ExportDumpClob()
ExportDumpClob(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getAsciiStream()
Reader
getCharacterStream()
Reader
getCharacterStream(long pos, long length)
String
getSubString(long pos, int length)
long
position(String searchstr, long start)
long
position(Clob searchstr, long start)
OutputStream
setAsciiStream(long pos)
Writer
setCharacterStream(long pos)
int
setString(long pos, String str)
int
setString(long pos, String str, int offset, int len)
void
truncate(long len)
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
free, getBinaryStream, getBinaryStream, getBytes, length, readExternal, writeExternal
-
-
-
-
Constructor Detail
-
ExportDumpClob
public ExportDumpClob()
-
ExportDumpClob
public ExportDumpClob(InputStream inputStream)
-
-
Method Detail
-
getAsciiStream
public InputStream getAsciiStream()
- Specified by:
getAsciiStream
in interfaceClob
-
getCharacterStream
public Reader getCharacterStream()
- Specified by:
getCharacterStream
in interfaceClob
-
getCharacterStream
public Reader getCharacterStream(long pos, long length)
- Specified by:
getCharacterStream
in interfaceClob
-
getSubString
public String getSubString(long pos, int length)
- Specified by:
getSubString
in interfaceClob
-
position
public long position(String searchstr, long start)
-
setAsciiStream
public OutputStream setAsciiStream(long pos)
- Specified by:
setAsciiStream
in interfaceClob
-
setCharacterStream
public Writer setCharacterStream(long pos)
- Specified by:
setCharacterStream
in interfaceClob
-
setString
public int setString(long pos, String str, int offset, int len)
-
-