Package org.apache.iceberg.types
Class TypeUtil.CustomOrderSchemaVisitor<T>
- java.lang.Object
-
- org.apache.iceberg.types.TypeUtil.CustomOrderSchemaVisitor<T>
-
- Direct Known Subclasses:
CheckCompatibility
,FixupTypes
,PruneColumnsWithoutReordering
,PruneColumnsWithReordering
- Enclosing class:
- TypeUtil
public static class TypeUtil.CustomOrderSchemaVisitor<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CustomOrderSchemaVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
field(Types.NestedField field, java.util.function.Supplier<T> fieldResult)
T
list(Types.ListType list, java.util.function.Supplier<T> elementResult)
T
map(Types.MapType map, java.util.function.Supplier<T> keyResult, java.util.function.Supplier<T> valueResult)
T
primitive(Type.PrimitiveType primitive)
T
schema(Schema schema, java.util.function.Supplier<T> structResult)
T
struct(Types.StructType struct, java.lang.Iterable<T> fieldResults)
-
-
-
Method Detail
-
struct
public T struct(Types.StructType struct, java.lang.Iterable<T> fieldResults)
-
field
public T field(Types.NestedField field, java.util.function.Supplier<T> fieldResult)
-
list
public T list(Types.ListType list, java.util.function.Supplier<T> elementResult)
-
map
public T map(Types.MapType map, java.util.function.Supplier<T> keyResult, java.util.function.Supplier<T> valueResult)
-
primitive
public T primitive(Type.PrimitiveType primitive)
-
-