public static class Spark3Util.DescribeSchemaVisitor extends TypeUtil.SchemaVisitor<java.lang.String>
Modifier and Type | Method and 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) |
afterField, afterListElement, afterMapKey, afterMapValue, beforeField, beforeListElement, beforeMapKey, beforeMapValue
public java.lang.String schema(Schema schema, java.lang.String structResult)
schema
in class TypeUtil.SchemaVisitor<java.lang.String>
public java.lang.String struct(Types.StructType struct, java.util.List<java.lang.String> fieldResults)
struct
in class TypeUtil.SchemaVisitor<java.lang.String>
public java.lang.String field(Types.NestedField field, java.lang.String fieldResult)
field
in class TypeUtil.SchemaVisitor<java.lang.String>
public java.lang.String list(Types.ListType list, java.lang.String elementResult)
list
in class TypeUtil.SchemaVisitor<java.lang.String>
public java.lang.String map(Types.MapType map, java.lang.String keyResult, java.lang.String valueResult)
map
in class TypeUtil.SchemaVisitor<java.lang.String>
public java.lang.String primitive(Type.PrimitiveType primitive)
primitive
in class TypeUtil.SchemaVisitor<java.lang.String>