Packages

object Decimal extends Serializable

Annotations
@Unstable()
Source
Decimal.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decimal
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MAX_INT_DIGITS: Int

    Maximum number of decimal digits an Int can represent

  5. val MAX_LONG_DIGITS: Int

    Maximum number of decimal digits a Long can represent

  6. val POW_10: Array[Long]
  7. val ROUND_CEILING: scala.math.BigDecimal.RoundingMode.Value
  8. val ROUND_FLOOR: scala.math.BigDecimal.RoundingMode.Value
  9. val ROUND_HALF_EVEN: scala.math.BigDecimal.RoundingMode.Value
  10. val ROUND_HALF_UP: scala.math.BigDecimal.RoundingMode.Value
  11. def apply(value: String): Decimal
  12. def apply(unscaled: Long, precision: Int, scale: Int): Decimal
  13. def apply(value: BigDecimal, precision: Int, scale: Int): Decimal
  14. def apply(value: BigDecimal, precision: Int, scale: Int): Decimal
  15. def apply(value: BigInt): Decimal
  16. def apply(value: BigInteger): Decimal
  17. def apply(value: BigDecimal): Decimal
  18. def apply(value: BigDecimal): Decimal
  19. def apply(value: Int): Decimal
  20. def apply(value: Long): Decimal
  21. def apply(value: Double): Decimal
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. def createUnsafe(unscaled: Long, precision: Int, scale: Int): Decimal

    Creates a decimal from unscaled, precision and scale without checking the bounds.

  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def fromDecimal(value: Any): Decimal
  29. def fromString(str: UTF8String): Decimal
  30. def fromStringANSI(str: UTF8String, to: DecimalType = DecimalType.USER_DEFAULT, context: SQLQueryContext = null): Decimal
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def maxPrecisionForBytes(numBytes: Int): Int
  35. lazy val minBytesForPrecision: Array[Int]
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped