Package io.deephaven.parquet.table
Interface ParquetSchemaReader.CodecAdapter
- Enclosing class:
ParquetSchemaReader
public static interface ParquetSchemaReader.CodecAdapter
Allows adapting codecs between systems that may not have the same classes available to them during reading.
Implementations should be registered with
ServiceLoader-
Method Summary
-
Method Details
-
adapt
Optionally converts fromoriginalCodecInfo. If no conversion should be done for a specific implementation, then the implementation should returnOptional.empty()- Parameters:
original- the original codec- Returns:
- an Optional
CodecInfo, which should beOptional.empty()if there is no conversion
-