org.elasticsearch.common.compress.snappy.xerial
Class XerialSnappyCompressedStreamInput
java.lang.Object
java.io.InputStream
org.elasticsearch.common.io.stream.StreamInput
org.elasticsearch.common.compress.CompressedStreamInput<SnappyCompressorContext>
org.elasticsearch.common.compress.snappy.SnappyCompressedStreamInput
org.elasticsearch.common.compress.snappy.xerial.XerialSnappyCompressedStreamInput
- All Implemented Interfaces:
- Closeable
public class XerialSnappyCompressedStreamInput
- extends SnappyCompressedStreamInput
Method Summary |
protected int |
uncompress(StreamInput in,
byte[] out)
Uncompress the data into the out array, returning the size uncompressed |
Methods inherited from class org.elasticsearch.common.io.stream.StreamInput |
readBoolean, readBytesReference, readBytesReference, readDouble, readFloat, readFully, readGenericValue, readInt, readLong, readMap, readOptionalString, readOptionalUTF, readShort, readString, readStringArray, readText, readUTF, readVInt, readVLong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XerialSnappyCompressedStreamInput
public XerialSnappyCompressedStreamInput(StreamInput in,
SnappyCompressorContext context)
throws IOException
- Throws:
IOException
uncompress
protected int uncompress(StreamInput in,
byte[] out)
throws IOException
- Description copied from class:
CompressedStreamInput
- Uncompress the data into the out array, returning the size uncompressed
- Specified by:
uncompress
in class CompressedStreamInput<SnappyCompressorContext>
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.