public class ParquetTypeVisitor<T>
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
list(org.apache.parquet.schema.GroupType array,
T element)
map(org.apache.parquet.schema.GroupType map,
T key,
T value)
message(org.apache.parquet.schema.MessageType message,
List<T> fields)
primitive(org.apache.parquet.schema.PrimitiveType primitive)
struct(org.apache.parquet.schema.GroupType struct,
List<T> fields)
static <T> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
ParquetTypeVisitor
public ParquetTypeVisitor()
-
Method Details
-
visit
public static <T> T visit(org.apache.parquet.schema.Type type,
ParquetTypeVisitor<T> visitor)
-
message
public T message(org.apache.parquet.schema.MessageType message,
List<T> fields)
-
struct
public T struct(org.apache.parquet.schema.GroupType struct,
List<T> fields)
-
list
public T list(org.apache.parquet.schema.GroupType array,
T element)
-
map
public T map(org.apache.parquet.schema.GroupType map,
T key,
T value)
-
primitive
public T primitive(org.apache.parquet.schema.PrimitiveType primitive)