Package org.apache.iceberg.types
Class IndexParents
- java.lang.Object
-
- org.apache.iceberg.types.TypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
- org.apache.iceberg.types.IndexParents
-
public class IndexParents extends TypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
-
Constructor Summary
Constructors Constructor Description IndexParents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterField(Types.NestedField field)
void
beforeField(Types.NestedField field)
java.util.Map<java.lang.Integer,java.lang.Integer>
field(Types.NestedField field, java.util.Map<java.lang.Integer,java.lang.Integer> fieldResult)
java.util.Map<java.lang.Integer,java.lang.Integer>
list(Types.ListType list, java.util.Map<java.lang.Integer,java.lang.Integer> element)
java.util.Map<java.lang.Integer,java.lang.Integer>
map(Types.MapType map, java.util.Map<java.lang.Integer,java.lang.Integer> key, java.util.Map<java.lang.Integer,java.lang.Integer> value)
java.util.Map<java.lang.Integer,java.lang.Integer>
primitive(Type.PrimitiveType primitive)
java.util.Map<java.lang.Integer,java.lang.Integer>
schema(Schema schema, java.util.Map<java.lang.Integer,java.lang.Integer> structResult)
java.util.Map<java.lang.Integer,java.lang.Integer>
struct(Types.StructType struct, java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>> fieldResults)
-
Methods inherited from class org.apache.iceberg.types.TypeUtil.SchemaVisitor
afterListElement, afterMapKey, afterMapValue, beforeListElement, beforeMapKey, beforeMapValue
-
-
-
-
Method Detail
-
beforeField
public void beforeField(Types.NestedField field)
- Overrides:
beforeField
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
afterField
public void afterField(Types.NestedField field)
- Overrides:
afterField
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
schema
public java.util.Map<java.lang.Integer,java.lang.Integer> schema(Schema schema, java.util.Map<java.lang.Integer,java.lang.Integer> structResult)
- Overrides:
schema
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
struct
public java.util.Map<java.lang.Integer,java.lang.Integer> struct(Types.StructType struct, java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>> fieldResults)
- Overrides:
struct
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
field
public java.util.Map<java.lang.Integer,java.lang.Integer> field(Types.NestedField field, java.util.Map<java.lang.Integer,java.lang.Integer> fieldResult)
- Overrides:
field
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
list
public java.util.Map<java.lang.Integer,java.lang.Integer> list(Types.ListType list, java.util.Map<java.lang.Integer,java.lang.Integer> element)
- Overrides:
list
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
map
public java.util.Map<java.lang.Integer,java.lang.Integer> map(Types.MapType map, java.util.Map<java.lang.Integer,java.lang.Integer> key, java.util.Map<java.lang.Integer,java.lang.Integer> value)
- Overrides:
map
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
primitive
public java.util.Map<java.lang.Integer,java.lang.Integer> primitive(Type.PrimitiveType primitive)
- Overrides:
primitive
in classTypeUtil.SchemaVisitor<java.util.Map<java.lang.Integer,java.lang.Integer>>
-
-