@Internal public class SnappyStreamCompressionDecorator extends StreamCompressionDecorator
Modifier and Type | Field and Description |
---|---|
static StreamCompressionDecorator |
INSTANCE |
Constructor and Description |
---|
SnappyStreamCompressionDecorator() |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
decorateWithCompression(NonClosingInputStreamDecorator stream) |
protected OutputStream |
decorateWithCompression(NonClosingOutpusStreamDecorator stream) |
decorateWithCompression, decorateWithCompression
public static final StreamCompressionDecorator INSTANCE
protected OutputStream decorateWithCompression(NonClosingOutpusStreamDecorator stream) throws IOException
decorateWithCompression
in class StreamCompressionDecorator
stream
- the stream to decorateIOException
protected InputStream decorateWithCompression(NonClosingInputStreamDecorator stream) throws IOException
decorateWithCompression
in class StreamCompressionDecorator
stream
- the stream to decorate.IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.