public abstract class SchemaVisitor<P,R> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SchemaVisitor.PartnerAccessors<P>
PartnerAccessors.
|
Constructor and Description |
---|
SchemaVisitor() |
Modifier and Type | Method and Description |
---|---|
R |
list(ArrayType list,
P partner,
R elementResult) |
R |
map(MapType map,
P partner,
R keyResult,
R valueResult) |
R |
primitive(DataType primitive,
P partner) |
R |
rowType(RowType rowType,
P partner,
List<R> fieldResults) |
static <P,T> T |
visit(DataType type,
P partner,
SchemaVisitor<P,T> visitor,
SchemaVisitor.PartnerAccessors<P> accessors) |
static <P,T> T |
visit(HiveSchema schema,
P partner,
SchemaVisitor<P,T> visitor,
SchemaVisitor.PartnerAccessors<P> accessors) |
public static <P,T> T visit(HiveSchema schema, P partner, SchemaVisitor<P,T> visitor, SchemaVisitor.PartnerAccessors<P> accessors)
public static <P,T> T visit(DataType type, P partner, SchemaVisitor<P,T> visitor, SchemaVisitor.PartnerAccessors<P> accessors)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.