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 parsepublic String getTypeName()
public String getSimpleString()
public String getCatalogString()
public String toJson()
public String toPrettyJson()
public boolean equals(Object o)
equals
in class Object
public boolean equivalent(DataType dt)
public int hashCode()
hashCode
in class Object