Package org.apache.spark.sql.types
Class CharType
Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.CharType
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.spark.sql.types.DataType
catalogString, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sql
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
CharType
public CharType(int length)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
length
public int length() -
defaultSize
public int defaultSize()Description copied from class:DataType
The default size of a value of this data type, used internally for size estimation.- Specified by:
defaultSize
in classDataType
- Returns:
- (undocumented)
-
typeName
Description copied from class:DataType
Name of the type used in JSON serialization. -
toString
-