Class 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
    • Constructor Detail

      • ExportDumpBlob

        public ExportDumpBlob()
      • ExportDumpBlob

        public ExportDumpBlob​(InputStream inputStream)
    • Method Detail

      • position

        public long position​(byte[] pattern,
                             long start)
        Specified by:
        position in interface Blob
      • position

        public long position​(Blob pattern,
                             long start)
        Specified by:
        position in interface Blob
      • setBytes

        public int setBytes​(long pos,
                            byte[] bytes)
        Specified by:
        setBytes in interface Blob
      • setBytes

        public int setBytes​(long pos,
                            byte[] bytes,
                            int offset,
                            int len)
        Specified by:
        setBytes in interface Blob
      • truncate

        public void truncate​(long len)
        Specified by:
        truncate in interface Blob