public class ParquetWithFlinkSchemaVisitor<T>
extends java.lang.Object
Constructor and Description |
---|
ParquetWithFlinkSchemaVisitor() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
currentPath() |
T |
list(org.apache.flink.table.types.logical.ArrayType sArray,
org.apache.parquet.schema.GroupType array,
T element) |
T |
map(org.apache.flink.table.types.logical.MapType sMap,
org.apache.parquet.schema.GroupType map,
T key,
T value) |
T |
message(org.apache.flink.table.types.logical.RowType sStruct,
org.apache.parquet.schema.MessageType message,
java.util.List<T> fields) |
protected java.lang.String[] |
path(java.lang.String name) |
T |
primitive(org.apache.flink.table.types.logical.LogicalType sPrimitive,
org.apache.parquet.schema.PrimitiveType primitive) |
T |
struct(org.apache.flink.table.types.logical.RowType sStruct,
org.apache.parquet.schema.GroupType struct,
java.util.List<T> fields) |
static <T> T |
visit(org.apache.flink.table.types.logical.LogicalType sType,
org.apache.parquet.schema.Type type,
ParquetWithFlinkSchemaVisitor<T> visitor) |
public static <T> T visit(org.apache.flink.table.types.logical.LogicalType sType, org.apache.parquet.schema.Type type, ParquetWithFlinkSchemaVisitor<T> visitor)
public T message(org.apache.flink.table.types.logical.RowType sStruct, org.apache.parquet.schema.MessageType message, java.util.List<T> fields)
public T struct(org.apache.flink.table.types.logical.RowType sStruct, org.apache.parquet.schema.GroupType struct, java.util.List<T> fields)
public T list(org.apache.flink.table.types.logical.ArrayType sArray, org.apache.parquet.schema.GroupType array, T element)
public T map(org.apache.flink.table.types.logical.MapType sMap, org.apache.parquet.schema.GroupType map, T key, T value)
public T primitive(org.apache.flink.table.types.logical.LogicalType sPrimitive, org.apache.parquet.schema.PrimitiveType primitive)
protected java.lang.String[] currentPath()
protected java.lang.String[] path(java.lang.String name)