Package io.deephaven.parquet.impl
Interface ParquetSchemaUtil.Visitor
- Enclosing class:
- ParquetSchemaUtil
public static interface ParquetSchemaUtil.Visitor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(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
ColumnDescriptor
in 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 aColumnDescriptor
usingParquetSchemaUtil.makeColumnDescriptor(Collection, PrimitiveType)
.- Parameters:
typePath
- the fully typed pathprimitiveType
- the leaf primitiveType, guaranteed to be the last element of path
-