org.elasticsearch.common.compress.lzf
Class LZFCompressedStreamInput
java.lang.Object
java.io.InputStream
org.elasticsearch.common.io.stream.StreamInput
org.elasticsearch.common.compress.CompressedStreamInput<LZFCompressorContext>
org.elasticsearch.common.compress.lzf.LZFCompressedStreamInput
- All Implemented Interfaces:
- Closeable
public class LZFCompressedStreamInput
- extends CompressedStreamInput<LZFCompressorContext>
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 |
LZFCompressedStreamInput
public LZFCompressedStreamInput(StreamInput in,
com.ning.compress.lzf.ChunkDecoder decoder)
throws IOException
- Throws:
IOException
readHeader
public void readHeader(StreamInput in)
throws IOException
- Specified by:
readHeader
in class CompressedStreamInput<LZFCompressorContext>
- Throws:
IOException
uncompress
public 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<LZFCompressorContext>
- Throws:
IOException
doClose
protected void doClose()
throws IOException
- Specified by:
doClose
in class CompressedStreamInput<LZFCompressorContext>
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.