Package org.apache.iceberg.orc
Class OrcSchemaWithTypeVisitor<T>
java.lang.Object
org.apache.iceberg.orc.OrcSchemaWithTypeVisitor<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist
(Types.ListType iList, org.apache.orc.TypeDescription array, T element) map
(Types.MapType iMap, org.apache.orc.TypeDescription map, T key, T value) primitive
(Type.PrimitiveType iPrimitive, org.apache.orc.TypeDescription primitive) record
(Types.StructType iStruct, org.apache.orc.TypeDescription record, List<String> names, 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)
-
Constructor Details
-
OrcSchemaWithTypeVisitor
public OrcSchemaWithTypeVisitor()
-
-
Method Details
-
visit
public static <T> T visit(Schema iSchema, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor) -
visit
public static <T> T visit(Type iType, org.apache.orc.TypeDescription schema, OrcSchemaWithTypeVisitor<T> visitor) -
record
-
list
-
map
-
primitive
-