ByteType (Spark 4.2.0 JavaDoc)
The data type representing Byte values. Please use the singleton DataTypes.ByteType.
- Since:
- 1.3.0
-
Constructor Summary
Constructors
-
Method Summary
abstract static booleanintThe default size of a value of the ByteType is 1 byte.
booleaninthashCode()json()abstract static intproductElement(int n) productElementName(int n) static scala.collection.Iterator<String>static scala.collection.Iterator<Object>sql()typeName()Methods inherited from class org.apache.spark.sql.types.DataType
catalogString, COLLATIONS_METADATA_KEY, equalsIgnoreCaseAndNullability, equalsIgnoreNullability, equalsStructurally, equalsStructurallyByName, fromDDL, fromJson, json, parseTypeWithFallback, prettyJson, simpleString, sql, typeName
-
Constructor Details
-
ByteType
public ByteType()
-
-
Method Details
-
typeName
public static String typeName()
-
json
public static String json()
-
prettyJson
public static String prettyJson()
-
catalogString
public static String catalogString()
-
sql
public static String sql()
-
canEqual
public abstract static boolean canEqual
(Object that) -
productArity
public abstract static int productArity()
-
productElement
public abstract static Object productElement
(int n) -
productIterator
public static scala.collection.Iterator<Object> productIterator()
-
productPrefix
public static String productPrefix()
-
productElementName
public static String productElementName
(int n) -
productElementNames
public static scala.collection.Iterator<String> productElementNames()
-
defaultSize
public int defaultSize()
The default size of a value of the ByteType is 1 byte.
- Specified by:
defaultSizein classDataType- Returns:
- (undocumented)
-
simpleString
public String simpleString()
-
equals
public boolean equals
(Object obj) -
hashCode
public int hashCode()
-