Class ExportDumpBlob
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
-
- de.akquinet.jbosscc.guttenbase.export.ExportDumpBlob
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Blob
public class ExportDumpBlob extends AbstractExportDumpObject implements Blob
Since BLOBs 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 ExportDumpBlob()
ExportDumpBlob(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
position(byte[] pattern, long start)
long
position(Blob pattern, long start)
OutputStream
setBinaryStream(long pos)
int
setBytes(long pos, byte[] bytes)
int
setBytes(long pos, byte[] bytes, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Blob
free, getBinaryStream, getBinaryStream, getBytes, length
-
-
-
-
Constructor Detail
-
ExportDumpBlob
public ExportDumpBlob()
-
ExportDumpBlob
public ExportDumpBlob(InputStream inputStream)
-
-
Method Detail
-
setBytes
public int setBytes(long pos, byte[] bytes, int offset, int len)
-
setBinaryStream
public OutputStream setBinaryStream(long pos)
- Specified by:
setBinaryStream
in interfaceBlob
-
-