org.elasticsearch.common.compress.snappy.xerial
Class XerialSnappyCompressedIndexInput

java.lang.Object
  extended by org.apache.lucene.store.DataInput
      extended by org.apache.lucene.store.IndexInput
          extended by org.elasticsearch.common.compress.CompressedIndexInput<SnappyCompressorContext>
              extended by org.elasticsearch.common.compress.snappy.SnappyCompressedIndexInput
                  extended by org.elasticsearch.common.compress.snappy.xerial.XerialSnappyCompressedIndexInput
All Implemented Interfaces:
Closeable, Cloneable

public class XerialSnappyCompressedIndexInput
extends SnappyCompressedIndexInput


Field Summary
 
Fields inherited from class org.elasticsearch.common.compress.snappy.SnappyCompressedIndexInput
chunkSize, inputBuffer, maxCompressedChunkLength
 
Fields inherited from class org.elasticsearch.common.compress.CompressedIndexInput
context, uncompressed, uncompressedLength
 
Constructor Summary
XerialSnappyCompressedIndexInput(org.apache.lucene.store.IndexInput in, SnappyCompressorContext context)
           
 
Method Summary
protected  int uncompress(org.apache.lucene.store.IndexInput in, byte[] out)
          Uncompress the data into the out array, returning the size uncompressed
 
Methods inherited from class org.elasticsearch.common.compress.snappy.SnappyCompressedIndexInput
clone, doClose, readHeader
 
Methods inherited from class org.elasticsearch.common.compress.CompressedIndexInput
available, close, getFilePointer, length, read, readByte, readBytes, readyBuffer, seek
 
Methods inherited from class org.apache.lucene.store.IndexInput
copyBytes, skipChars, toString
 
Methods inherited from class org.apache.lucene.store.DataInput
readBytes, readChars, readInt, readLong, readShort, readString, readStringStringMap, readVInt, readVLong, setModifiedUTF8StringsMode
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XerialSnappyCompressedIndexInput

public XerialSnappyCompressedIndexInput(org.apache.lucene.store.IndexInput in,
                                        SnappyCompressorContext context)
                                 throws IOException
Throws:
IOException
Method Detail

uncompress

protected int uncompress(org.apache.lucene.store.IndexInput in,
                         byte[] out)
                  throws IOException
Description copied from class: CompressedIndexInput
Uncompress the data into the out array, returning the size uncompressed

Specified by:
uncompress in class CompressedIndexInput<SnappyCompressorContext>
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.