Package org.apache.iceberg.types
Class TypeUtil.SchemaVisitor<T>
- java.lang.Object
-
- org.apache.iceberg.types.TypeUtil.SchemaVisitor<T>
-
- Direct Known Subclasses:
IcebergObjectInspector
,IndexByName
,IndexParents
,Spark3Util.DescribeSchemaVisitor
- Enclosing class:
- TypeUtil
public static class TypeUtil.SchemaVisitor<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SchemaVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterField(Types.NestedField field)
void
afterListElement(Types.NestedField elementField)
void
afterMapKey(Types.NestedField keyField)
void
afterMapValue(Types.NestedField valueField)
void
beforeField(Types.NestedField field)
void
beforeListElement(Types.NestedField elementField)
void
beforeMapKey(Types.NestedField keyField)
void
beforeMapValue(Types.NestedField valueField)
T
field(Types.NestedField field, T fieldResult)
T
list(Types.ListType list, T elementResult)
T
map(Types.MapType map, T keyResult, T valueResult)
T
primitive(Type.PrimitiveType primitive)
T
schema(Schema schema, T structResult)
T
struct(Types.StructType struct, java.util.List<T> fieldResults)
-
-
-
Method Detail
-
beforeField
public void beforeField(Types.NestedField field)
-
afterField
public void afterField(Types.NestedField field)
-
beforeListElement
public void beforeListElement(Types.NestedField elementField)
-
afterListElement
public void afterListElement(Types.NestedField elementField)
-
beforeMapKey
public void beforeMapKey(Types.NestedField keyField)
-
afterMapKey
public void afterMapKey(Types.NestedField keyField)
-
beforeMapValue
public void beforeMapValue(Types.NestedField valueField)
-
afterMapValue
public void afterMapValue(Types.NestedField valueField)
-
struct
public T struct(Types.StructType struct, java.util.List<T> fieldResults)
-
field
public T field(Types.NestedField field, T fieldResult)
-
list
public T list(Types.ListType list, T elementResult)
-
map
public T map(Types.MapType map, T keyResult, T valueResult)
-
primitive
public T primitive(Type.PrimitiveType primitive)
-
-