Skip to content

AtomicType

AtomicType is an extension of the DataType abstraction for atomic types.

InternalType

abstract class AtomicType extends DataType {
  type InternalType
}

Contract

TypeTag

tag: TypeTag[InternalType]

TypeTag (Scala)

Ordering

ordering: Ordering[InternalType]

Implementations

  • BinaryType
  • BooleanType
  • CharType
  • DateType
  • NumericType
  • StringType
  • TimestampType
  • VarcharType

Extractor

unapply(
  e: Expression): Boolean

unapply is true when the data type of the input ../expressions/Expression is an AtomicType.

unapply allows pattern matching in Scala against AtomicType for expressions.

Back to top