public class VarcharType extends DataType implements scala.Product, scala.Serializable
| Constructor and Description |
|---|
VarcharType(int length) |
| Modifier and Type | Method and Description |
|---|---|
abstract static R |
apply(T1 v1) |
int |
defaultSize()
The default size of a value of this data type, used internally for size estimation.
|
int |
length() |
String |
toString() |
String |
typeName()
Name of the type used in JSON serialization.
|
static boolean |
unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
Enables matching against AtomicType for expressions:
|
canWrite, catalogString, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sqlpublic abstract static R apply(T1 v1)
public int length()
public int defaultSize()
DataTypedefaultSize in class DataTypepublic String typeName()
DataTypepublic String toString()
toString in class Objectpublic static boolean unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
case Cast(child @ AtomicType(), StringType) =>
...
e - (undocumented)