public abstract class HiveStringType extends DataType
StringType before analysis.| Constructor and Description |
|---|
HiveStringType() |
| Modifier and Type | Method and Description |
|---|---|
int |
defaultSize()
The default size of a value of this data type, used internally for size estimation.
|
abstract int |
length() |
static DataType |
replaceCharType(DataType dt) |
static boolean |
unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
Enables matching against AtomicType for expressions:
|
canWrite, catalogString, equalsStructurally, fromDDL, fromJson, json, prettyJson, simpleString, sql, typeNamepublic int defaultSize()
DataTypedefaultSize in class DataTypepublic abstract int length()
public static boolean unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
case Cast(child @ AtomicType(), StringType) =>
...
e - (undocumented)