public abstract class DataType
extends Object
io.delta.standalone
data types.
Represents a bare-bones Java implementation of the Spark SQL
DataType,
allowing Spark SQL schemas to be represented in Java.Constructor and Description |
---|
DataType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
equivalent(DataType dt) |
static DataType |
fromJson(String json)
Parses the input
json into a DataType . |
String |
getCatalogString() |
String |
getSimpleString() |
String |
getTypeName() |
int |
hashCode() |
String |
toJson() |
String |
toPrettyJson() |
public static DataType fromJson(String json)
json
into a DataType
.json
- the String
json to parseDataType
public String getTypeName()
public String getSimpleString()
String
representation for the typepublic String getCatalogString()
String
representation for the type saved in external catalogspublic String toJson()
String
representation of the typepublic String toPrettyJson()
String
representation of the typepublic boolean equals(Object o)
equals
in class Object
public boolean equivalent(DataType dt)
public int hashCode()
hashCode
in class Object