public class ParquetTypeVisitor<T>
extends java.lang.Object
Constructor and Description |
---|
ParquetTypeVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
afterElementField(org.apache.parquet.schema.Type element) |
void |
afterField(org.apache.parquet.schema.Type type) |
void |
afterKeyField(org.apache.parquet.schema.Type key) |
void |
afterRepeatedElement(org.apache.parquet.schema.Type element) |
void |
afterRepeatedKeyValue(org.apache.parquet.schema.Type keyValue) |
void |
afterValueField(org.apache.parquet.schema.Type value) |
void |
beforeElementField(org.apache.parquet.schema.Type element) |
void |
beforeField(org.apache.parquet.schema.Type type) |
void |
beforeKeyField(org.apache.parquet.schema.Type key) |
void |
beforeRepeatedElement(org.apache.parquet.schema.Type element) |
void |
beforeRepeatedKeyValue(org.apache.parquet.schema.Type keyValue) |
void |
beforeValueField(org.apache.parquet.schema.Type value) |
protected java.lang.String[] |
currentPath() |
T |
list(org.apache.parquet.schema.GroupType array,
T element) |
T |
map(org.apache.parquet.schema.GroupType map,
T key,
T value) |
T |
message(org.apache.parquet.schema.MessageType message,
java.util.List<T> fields) |
protected java.lang.String[] |
path(java.lang.String name) |
T |
primitive(org.apache.parquet.schema.PrimitiveType primitive) |
T |
struct(org.apache.parquet.schema.GroupType struct,
java.util.List<T> fields) |
static <T> T |
visit(org.apache.parquet.schema.Type type,
ParquetTypeVisitor<T> visitor) |
public static <T> T visit(org.apache.parquet.schema.Type type, ParquetTypeVisitor<T> visitor)
public T primitive(org.apache.parquet.schema.PrimitiveType primitive)
public void beforeField(org.apache.parquet.schema.Type type)
public void afterField(org.apache.parquet.schema.Type type)
public void beforeRepeatedElement(org.apache.parquet.schema.Type element)
public void afterRepeatedElement(org.apache.parquet.schema.Type element)
public void beforeElementField(org.apache.parquet.schema.Type element)
public void afterElementField(org.apache.parquet.schema.Type element)
public void beforeRepeatedKeyValue(org.apache.parquet.schema.Type keyValue)
public void afterRepeatedKeyValue(org.apache.parquet.schema.Type keyValue)
public void beforeKeyField(org.apache.parquet.schema.Type key)
public void afterKeyField(org.apache.parquet.schema.Type key)
public void beforeValueField(org.apache.parquet.schema.Type value)
public void afterValueField(org.apache.parquet.schema.Type value)
protected java.lang.String[] currentPath()
protected java.lang.String[] path(java.lang.String name)