class StringType extends AtomicType
The data type representing String
values. Please use the singleton DataTypes.StringType
.
- Annotations
- @Stable()
- Source
- StringType.scala
- Since
1.3.0
- Alphabetic
- By Inheritance
- StringType
- AtomicType
- DataType
- AbstractDataType
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
catalogString: String
String representation for the type saved in external catalogs.
String representation for the type saved in external catalogs.
- Definition Classes
- DataType
-
def
defaultSize: Int
The default size of a value of the StringType is 20 bytes.
The default size of a value of the StringType is 20 bytes.
- Definition Classes
- StringType → DataType
-
def
json: String
The compact JSON representation of this data type.
The compact JSON representation of this data type.
- Definition Classes
- DataType
-
def
prettyJson: String
The pretty (i.e.
The pretty (i.e. indented) JSON representation of this data type.
- Definition Classes
- DataType
-
def
simpleString: String
Readable string representation for the type.
Readable string representation for the type.
- Definition Classes
- DataType → AbstractDataType
-
def
sql: String
- Definition Classes
- DataType
-
def
typeName: String
Name of the type used in JSON serialization.
Name of the type used in JSON serialization.
- Definition Classes
- DataType