Package org.apache.iceberg.spark
Class PruneColumnsWithReordering
- java.lang.Object
-
- org.apache.iceberg.types.TypeUtil.CustomOrderSchemaVisitor<Type>
-
- org.apache.iceberg.spark.PruneColumnsWithReordering
-
public class PruneColumnsWithReordering extends TypeUtil.CustomOrderSchemaVisitor<Type>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
field(Types.NestedField field, java.util.function.Supplier<Type> fieldResult)
Type
list(Types.ListType list, java.util.function.Supplier<Type> elementResult)
Type
map(Types.MapType map, java.util.function.Supplier<Type> keyResult, java.util.function.Supplier<Type> valueResult)
Type
primitive(Type.PrimitiveType primitive)
Type
schema(Schema schema, java.util.function.Supplier<Type> structResult)
Type
struct(Types.StructType struct, java.lang.Iterable<Type> fieldResults)
-
-
-
Method Detail
-
schema
public Type schema(Schema schema, java.util.function.Supplier<Type> structResult)
- Overrides:
schema
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
struct
public Type struct(Types.StructType struct, java.lang.Iterable<Type> fieldResults)
- Overrides:
struct
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
field
public Type field(Types.NestedField field, java.util.function.Supplier<Type> fieldResult)
- Overrides:
field
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
list
public Type list(Types.ListType list, java.util.function.Supplier<Type> elementResult)
- Overrides:
list
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
map
public Type map(Types.MapType map, java.util.function.Supplier<Type> keyResult, java.util.function.Supplier<Type> valueResult)
- Overrides:
map
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
primitive
public Type primitive(Type.PrimitiveType primitive)
- Overrides:
primitive
in classTypeUtil.CustomOrderSchemaVisitor<Type>
-
-