Package io.deephaven.parquet.impl
Interface ParquetSchemaUtil.Visitor
- Enclosing class:
- ParquetSchemaUtil
public static interface ParquetSchemaUtil.Visitor
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Collection<org.apache.parquet.schema.Type> typePath, org.apache.parquet.schema.PrimitiveType primitiveType) Accept a Parquet column.
-
Method Details
-
accept
void accept(Collection<org.apache.parquet.schema.Type> typePath, org.apache.parquet.schema.PrimitiveType primitiveType) Accept a Parquet column.This represents the constituents parts of a
ColumnDescriptorin an easier to consume fashion. In particular, it is useful when the consumer wants to iterate the Typed-path from MessageType root to leaf without needing to resort to extraneous allocation ofMessageType.getType(String...)or state management needed viaGroupType.getType(String). The arguments of this method can be made into aColumnDescriptorusingParquetSchemaUtil.makeColumnDescriptor(Collection, PrimitiveType).- Parameters:
typePath- the fully typed pathprimitiveType- the leaf primitiveType, guaranteed to be the last element of path
-