public class DeflateCompressor extends java.lang.Object implements Compressor
Compressor
implementation based on the DEFLATE compression algorithm.Constructor and Description |
---|
DeflateCompressor() |
Modifier and Type | Method and Description |
---|---|
CompressedIndexInput |
indexInput(org.apache.lucene.store.IndexInput in) |
boolean |
isCompressed(BytesReference bytes) |
boolean |
isCompressed(org.jboss.netty.buffer.ChannelBuffer buffer) |
boolean |
isCompressed(org.apache.lucene.store.IndexInput in) |
StreamInput |
streamInput(StreamInput in) |
StreamOutput |
streamOutput(StreamOutput out) |
public boolean isCompressed(BytesReference bytes)
isCompressed
in interface Compressor
public boolean isCompressed(org.jboss.netty.buffer.ChannelBuffer buffer)
isCompressed
in interface Compressor
public StreamInput streamInput(StreamInput in) throws java.io.IOException
streamInput
in interface Compressor
java.io.IOException
public StreamOutput streamOutput(StreamOutput out) throws java.io.IOException
streamOutput
in interface Compressor
java.io.IOException
public boolean isCompressed(org.apache.lucene.store.IndexInput in) throws java.io.IOException
isCompressed
in interface Compressor
java.io.IOException
public CompressedIndexInput indexInput(org.apache.lucene.store.IndexInput in) throws java.io.IOException
indexInput
in interface Compressor
java.io.IOException