Package org.apache.spark.sql.types
package org.apache.spark.sql.types
-
ClassDescriptionAn
AbstractDataTypethat matches any concrete data types.The data type representingArray[Byte]values.The data type representingBooleanvalues.The data type representingBytevalues.The data type representing calendar intervals.The base type of all Spark SQL data types.To get/create specific data type, users should use singleton objects and factory methods provided by this class.The date type represents a valid date in the proleptic Gregorian calendar.The type represents day-time intervals of the SQL standard.A mutable implementation of BigDecimal that can hold a Long if values are small enough.AIntegralevidence parameter for Decimals.Common methods for Decimal evidence parametersAFractionalevidence parameter for Decimals.The data type representingjava.math.BigDecimalvalues.The data type representingDoublevalues.The data type representingFloatvalues.String type that was the result of coercing two different non-explicit collations.The data type representingIntvalues.The data type representingLongvalues.The data type for Maps.Metadata is a wrapper over Map[String, Any] that limits the value type to simple ones: Boolean, Long, Double, String, Metadata, Array[Boolean], Array[Long], Array[Double], Array[String], and Array[Metadata].Builder forMetadata.The data type representingNULLvalues.Numeric data types.The data type representingShortvalues.::DeveloperApi:: A user-defined type which can be automatically recognized by a SQLContext and registered.The data type representingStringvalues.A field inside a StructType.AStructTypeobject can be constructed byThe timestamp without time zone type represents a local time in microsecond precision, which is independent of time zone.The timestamp type represents a time instant in microsecond precision.This object keeps the mappings between user classes and their User Defined Types (UDTs).Rule that defines which upcasts are allow in Spark.UserDefinedType<UserType>The data type for User Defined Types (UDTs).The data type representing semi-structured values with arbitrary hierarchical data structures.The type represents year-month intervals of the SQL standard.