public abstract class AvroWithSparkSchemaVisitor<T> extends AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
Constructor and Description |
---|
AvroWithSparkSchemaVisitor() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.spark.sql.types.DataType |
arrayElementType(org.apache.spark.sql.types.DataType arrayType) |
protected Pair<java.lang.String,org.apache.spark.sql.types.DataType> |
fieldNameAndType(org.apache.spark.sql.types.DataType structType,
int pos) |
protected boolean |
isMapType(org.apache.spark.sql.types.DataType dataType) |
protected boolean |
isStringType(org.apache.spark.sql.types.DataType dataType) |
protected org.apache.spark.sql.types.DataType |
mapKeyType(org.apache.spark.sql.types.DataType mapType) |
protected org.apache.spark.sql.types.DataType |
mapValueType(org.apache.spark.sql.types.DataType mapType) |
protected org.apache.spark.sql.types.DataType |
nullType() |
protected boolean isStringType(org.apache.spark.sql.types.DataType dataType)
isStringType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected boolean isMapType(org.apache.spark.sql.types.DataType dataType)
isMapType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected org.apache.spark.sql.types.DataType arrayElementType(org.apache.spark.sql.types.DataType arrayType)
arrayElementType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected org.apache.spark.sql.types.DataType mapKeyType(org.apache.spark.sql.types.DataType mapType)
mapKeyType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected org.apache.spark.sql.types.DataType mapValueType(org.apache.spark.sql.types.DataType mapType)
mapValueType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected Pair<java.lang.String,org.apache.spark.sql.types.DataType> fieldNameAndType(org.apache.spark.sql.types.DataType structType, int pos)
fieldNameAndType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>
protected org.apache.spark.sql.types.DataType nullType()
nullType
in class AvroWithPartnerByStructureVisitor<org.apache.spark.sql.types.DataType,T>