public class PruneColumnsWithReordering extends TypeUtil.CustomOrderSchemaVisitor<Type>
Modifier and Type | Method and 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) |
public Type schema(Schema schema, java.util.function.Supplier<Type> structResult)
schema
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type struct(Types.StructType struct, java.lang.Iterable<Type> fieldResults)
struct
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type field(Types.NestedField field, java.util.function.Supplier<Type> fieldResult)
field
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type list(Types.ListType list, java.util.function.Supplier<Type> elementResult)
list
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type map(Types.MapType map, java.util.function.Supplier<Type> keyResult, java.util.function.Supplier<Type> valueResult)
map
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type primitive(Type.PrimitiveType primitive)
primitive
in class TypeUtil.CustomOrderSchemaVisitor<Type>