org.apache.spark.sql.catalyst.types

decimal

package decimal

Visibility
  1. Public
  2. All

Type Members

  1. final class Decimal extends Ordered[Decimal] with Serializable

    A mutable implementation of BigDecimal that can hold a Long if values are small enough.

    A mutable implementation of BigDecimal that can hold a Long if values are small enough.

    The semantics of the fields are as follows: - _precision and _scale represent the SQL precision and scale we are looking for - If decimalVal is set, it represents the whole decimal value - Otherwise, the decimal value is longVal / (10 ** _scale)

Value Members

  1. object Decimal extends Serializable

Ungrouped