Package io.trino.orc
Interface OrcDecompressor
-
public interface OrcDecompressor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOrcDecompressor.OutputBuffer
-
Field Summary
Fields Modifier and Type Field Description static intMAX_BUFFER_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Optional<OrcDecompressor>createOrcDecompressor(OrcDataSourceId orcDataSourceId, CompressionKind compression, int bufferSize)intdecompress(byte[] input, int offset, int length, OrcDecompressor.OutputBuffer output)
-
-
-
Method Detail
-
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
-
-