public class CharType extends HiveStringType implements scala.Product, scala.Serializable
StringType before analysis.| Constructor and Description |
|---|
CharType(int length) |
| Modifier and Type | Method and Description |
|---|---|
abstract static R |
apply(T1 v1) |
int |
length() |
String |
simpleString()
Readable string representation for the type.
|
static String |
toString() |
static boolean |
unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
Enables matching against AtomicType for expressions:
|
defaultSize, replaceCharTypecanWrite, catalogString, equalsStructurally, fromDDL, fromJson, json, prettyJson, sql, typeNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic abstract static R apply(T1 v1)
public static String toString()
public int length()
length in class HiveStringTypepublic String simpleString()
DataTypesimpleString in class DataTypepublic static boolean unapply(org.apache.spark.sql.catalyst.expressions.Expression e)
case Cast(child @ AtomicType(), StringType) =>
...
e - (undocumented)