Package io.trino.orc
Interface OrcDecompressor
public interface OrcDecompressor
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<OrcDecompressor>createOrcDecompressor(OrcDataSourceId orcDataSourceId, CompressionKind compression, int bufferSize) intdecompress(byte[] input, int offset, int length, OrcDecompressor.OutputBuffer output)
-
Field Details
-
MAX_BUFFER_SIZE
static final int MAX_BUFFER_SIZE
-
-
Method Details
-
createOrcDecompressor
static Optional<OrcDecompressor> createOrcDecompressor(OrcDataSourceId orcDataSourceId, CompressionKind compression, int bufferSize) throws OrcCorruptionException - Throws:
OrcCorruptionException
-
decompress
int decompress(byte[] input, int offset, int length, OrcDecompressor.OutputBuffer output) throws OrcCorruptionException - Throws:
OrcCorruptionException
-