Package org.apache.spark.sql.types
Class IntegerType
Object
org.apache.spark.sql.types.DataType
org.apache.spark.sql.types.NumericType
org.apache.spark.sql.types.IntegerType
The data type representing
Int values. Please use the singleton DataTypes.IntegerType.
- Since:
- 1.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract static booleanstatic StringintThe default size of a value of the IntegerType is 4 bytes.abstract static booleanstatic Stringjson()static Stringabstract static intabstract static ObjectproductElement(int n) static StringproductElementName(int n) static scala.collection.Iterator<String>static scala.collection.Iterator<Object>static Stringstatic Stringsql()static StringtypeName()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
-
IntegerType
public IntegerType()
-
-
Method Details
-
typeName
-
json
-
prettyJson
-
catalogString
-
sql
-
canEqual
-
equals
-
productArity
public abstract static int productArity() -
productElement
-
productIterator
-
productPrefix
-
productElementName
-
productElementNames
-
defaultSize
public int defaultSize()The default size of a value of the IntegerType is 4 bytes.- Specified by:
defaultSizein classDataType- Returns:
- (undocumented)
-
simpleString
-