public abstract class HiveStringType extends DataType
StringType
before analysis.Constructor and Description |
---|
HiveStringType() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsCharType(DataType dt) |
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, typeName
public static boolean containsCharType(DataType dt)
public int defaultSize()
DataType
defaultSize
in class DataType
public abstract int length()
public static boolean unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
case Cast(child @ AtomicType(), StringType) =>
...
e
- (undocumented)