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

java.lang.Object
  extended by org.elasticsearch.common.compress.snappy.SnappyCompressor
      extended by org.elasticsearch.common.compress.snappy.xerial.XerialSnappyCompressor
All Implemented Interfaces:
Compressor

public class XerialSnappyCompressor
extends SnappyCompressor


Field Summary
 
Fields inherited from class org.elasticsearch.common.compress.snappy.SnappyCompressor
compressorContext, HEADER
 
Constructor Summary
XerialSnappyCompressor()
           
 
Method Summary
 CompressedIndexInput indexInput(org.apache.lucene.store.IndexInput in)
           
 CompressedIndexOutput indexOutput(org.apache.lucene.store.IndexOutput out)
           
protected  int maxCompressedLength(int length)
           
 CompressedStreamInput streamInput(StreamInput in)
           
 CompressedStreamOutput streamOutput(StreamOutput out)
           
 String type()
           
 
Methods inherited from class org.elasticsearch.common.compress.snappy.SnappyCompressor
compress, configure, isCompressed, isCompressed, isCompressed, isCompressed, uncompress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XerialSnappyCompressor

public XerialSnappyCompressor()
Method Detail

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.