Packages

object DecimalType extends AbstractDataType with Serializable

Extra factory methods and pattern matchers for Decimals.

Annotations
@Stable()
Source
DecimalType.scala
Since

1.3.0

Linear Supertypes
Serializable, Serializable, AbstractDataType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecimalType
  2. Serializable
  3. Serializable
  4. AbstractDataType
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val MAX_PRECISION: Int
  2. val MAX_SCALE: Int
  3. val MINIMUM_ADJUSTED_SCALE: Int
  4. val SYSTEM_DEFAULT: DecimalType
  5. val USER_DEFAULT: DecimalType
  6. def is32BitDecimalType(dt: DataType): Boolean

    Returns if dt is a DecimalType that fits inside an int

  7. def is64BitDecimalType(dt: DataType): Boolean

    Returns if dt is a DecimalType that fits inside a long

  8. def isByteArrayDecimalType(dt: DataType): Boolean

    Returns if dt is a DecimalType that doesn't fit inside a long

  9. def unapply(e: Expression): Boolean
  10. def unapply(t: DataType): Boolean