public abstract class OrcSchemaWithTypeVisitor<T>
extends java.lang.Object
Constructor and Description |
---|
OrcSchemaWithTypeVisitor() |
Modifier and Type | Method and Description |
---|---|
T |
list(Types.ListType iList,
org.apache.orc.TypeDescription array,
T element) |
T |
map(Types.MapType iMap,
org.apache.orc.TypeDescription map,
T key,
T value) |
T |
primitive(Type.PrimitiveType iPrimitive,
org.apache.orc.TypeDescription primitive) |
T |
record(Types.StructType iStruct,
org.apache.orc.TypeDescription record,
java.util.List<java.lang.String> names,
java.util.List<T> fields) |
static <T> T |
visit(Schema iSchema,
org.apache.orc.TypeDescription schema,
OrcSchemaWithTypeVisitor<T> visitor) |
static <T> T |
visit(Type iType,
org.apache.orc.TypeDescription schema,
OrcSchemaWithTypeVisitor<T> visitor) |
public static <T> T visit(Schema iSchema, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor)
public static <T> T visit(Type iType, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor)
public T record(Types.StructType iStruct, org.apache.orc.TypeDescription record, java.util.List<java.lang.String> names, java.util.List<T> fields)
public T list(Types.ListType iList, org.apache.orc.TypeDescription array, T element)
public T map(Types.MapType iMap, org.apache.orc.TypeDescription map, T key, T value)
public T primitive(Type.PrimitiveType iPrimitive, org.apache.orc.TypeDescription primitive)