public interface Compressor
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompressed(BytesReference bytes) |
StreamInput |
streamInput(StreamInput in) |
StreamOutput |
streamOutput(StreamOutput out)
Creates a new stream output that compresses the contents and writes to the provided stream
output.
|
boolean isCompressed(BytesReference bytes)
StreamInput streamInput(StreamInput in) throws java.io.IOException
java.io.IOExceptionStreamOutput streamOutput(StreamOutput out) throws java.io.IOException
StreamOutput will close the provided stream output.java.io.IOException