org.elasticsearch.common.compress.snappy.xerial
Class XerialSnappyCompressor
java.lang.Object
org.elasticsearch.common.compress.snappy.SnappyCompressor
org.elasticsearch.common.compress.snappy.xerial.XerialSnappyCompressor
- All Implemented Interfaces:
- Compressor
public class XerialSnappyCompressor
- extends SnappyCompressor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XerialSnappyCompressor
public XerialSnappyCompressor()
type
public String type()
maxCompressedLength
protected int maxCompressedLength(int length)
- Specified by:
maxCompressedLength
in class SnappyCompressor
streamInput
public CompressedStreamInput streamInput(StreamInput in)
throws IOException
- Throws:
IOException
streamOutput
public CompressedStreamOutput streamOutput(StreamOutput out)
throws IOException
- Throws:
IOException
indexInput
public CompressedIndexInput indexInput(org.apache.lucene.store.IndexInput in)
throws IOException
- Throws:
IOException
indexOutput
public CompressedIndexOutput indexOutput(org.apache.lucene.store.IndexOutput out)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.