Package io.deephaven.parquet.compress
Class DeephavenCompressorAdapterFactory
java.lang.Object
io.deephaven.parquet.compress.DeephavenCompressorAdapterFactory
Deephaven flavor of the Hadoop/Parquet CompressionCodec factory, offering support for picking codecs from
configuration or from the classpath (via service loaders), while still offering the ability to get a
CompressionCodecName enum value having loaded the codec in this way.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a compressor with the given codec name.
-
Method Details
-
getInstance
-
getByName
Returns a compressor with the given codec name. The returned adapter can internally stateful in some cases and therefore a single instance should not be re-used across files (checkLZ4WithLZ4RawBackupCompressorAdapter
for more details).- Parameters:
codecName
- the name of the codec to search for.- Returns:
- a compressor instance with a name matching the given codec.
-