public class StringType extends NativeType implements PrimitiveType
String values. Please use the singleton DataTypes.StringType.
| Modifier and Type | Method and Description |
|---|---|
StringType |
asNullable()
Returns the same data type but set all nullability fields are true
(
StructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull). |
int |
defaultSize()
The default size of a value of the StringType is 4096 bytes.
|
scala.math.Ordering<String> |
ordering() |
scala.reflect.api.TypeTags.TypeTag<String> |
tag() |
all, classTag, unapplyequalsIgnoreCompatibleNullability, equalsIgnoreNullability, fromCaseClassString, fromJson, isPrimitive, json, jsonValue, prettyJson, sameType, simpleString, typeName, unapplyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPrimitivepublic scala.reflect.api.TypeTags.TypeTag<String> tag()
public scala.math.Ordering<String> ordering()
public int defaultSize()
defaultSize in class DataTypepublic StringType asNullable()
DataTypeStructField.nullable, ArrayType.containsNull, and MapType.valueContainsNull).asNullable in class DataType