Package org.apache.iceberg.spark
Class Spark3Util.DescribeSchemaVisitor
- java.lang.Object
-
- org.apache.iceberg.types.TypeUtil.SchemaVisitor<java.lang.String>
-
- org.apache.iceberg.spark.Spark3Util.DescribeSchemaVisitor
-
- Enclosing class:
- Spark3Util
public static class Spark3Util.DescribeSchemaVisitor extends TypeUtil.SchemaVisitor<java.lang.String>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
field(Types.NestedField field, java.lang.String fieldResult)
java.lang.String
list(Types.ListType list, java.lang.String elementResult)
java.lang.String
map(Types.MapType map, java.lang.String keyResult, java.lang.String valueResult)
java.lang.String
primitive(Type.PrimitiveType primitive)
java.lang.String
schema(Schema schema, java.lang.String structResult)
java.lang.String
struct(Types.StructType struct, java.util.List<java.lang.String> fieldResults)
-
Methods inherited from class org.apache.iceberg.types.TypeUtil.SchemaVisitor
afterField, afterListElement, afterMapKey, afterMapValue, beforeField, beforeListElement, beforeMapKey, beforeMapValue
-
-
-
-
Method Detail
-
schema
public java.lang.String schema(Schema schema, java.lang.String structResult)
- Overrides:
schema
in classTypeUtil.SchemaVisitor<java.lang.String>
-
struct
public java.lang.String struct(Types.StructType struct, java.util.List<java.lang.String> fieldResults)
- Overrides:
struct
in classTypeUtil.SchemaVisitor<java.lang.String>
-
field
public java.lang.String field(Types.NestedField field, java.lang.String fieldResult)
- Overrides:
field
in classTypeUtil.SchemaVisitor<java.lang.String>
-
list
public java.lang.String list(Types.ListType list, java.lang.String elementResult)
- Overrides:
list
in classTypeUtil.SchemaVisitor<java.lang.String>
-
map
public java.lang.String map(Types.MapType map, java.lang.String keyResult, java.lang.String valueResult)
- Overrides:
map
in classTypeUtil.SchemaVisitor<java.lang.String>
-
primitive
public java.lang.String primitive(Type.PrimitiveType primitive)
- Overrides:
primitive
in classTypeUtil.SchemaVisitor<java.lang.String>
-
-