Microsoft.Spark.Sql.Types Namespace

Classes

ArrayType

An array type containing multiple values of a type.

AtomicType

An internal type used to represent everything that is not null, arrays, structs, and maps.

BinaryType

Represents a binary (byte array) type.

BooleanType

Represents a boolean type.

ByteType

Represents a byte type.

DataType

The base type of all Spark SQL data types. Note that the implementation mirrors PySpark: spark/python/pyspark/sql/types.py The Scala version is spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/*.

Date

Represents Date containing year, month, and day.

DateType

Represents a date type. It represents a valid date in the proleptic Gregorian calendar. Valid range is [0001-01-01, 9999-12-31].

DecimalType

Represents a decimal type.

DoubleType

Represents a double type.

FloatType

Represents a float type.

FractionalType

Represents a fractional type.

IntegerType

Represents an int type.

IntegralType

Represents an integral type.

LongType

Represents a long type.

MapType

The data type for a map.

NullType

Represents a null type.

NumericType

Represents a numeric type.

ShortType

Represents a short type.

StringType

Represents a string type.

StructField

A type that represents a field inside StructType.

StructType

Struct type represents a struct with multiple fields. This type is also used to represent a Row object in Spark.

Timestamp

Represents Timestamp containing year, month, day, hour, minute, second, microsecond in Coordinated Universal Time (UTC).

TimestampType

Represents a timestamp type. It represents a time instant in microsecond precision. Valid range is [0001-01-01T00:00:00.000000Z, 9999-12-31T23:59:59.999999Z] where the left/right-bound is a date and time of the proleptic Gregorian calendar in UTC+00:00.