Packages

object BSONDecimal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONDecimal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 NaN: BSONDecimal

    Decimal128 representation of a Not-a-Number (NaN) value

  5. val NegativeInf: BSONDecimal

    Decimal128 representation of the negative infinity

  6. val NegativeNaN: BSONDecimal

    Decimal128 representation of a negative Not-a-Number (-NaN) value

  7. val NegativeZero: BSONDecimal

    Decimal128 representation of a negative zero value

  8. val PositiveInf: BSONDecimal

    Decimal128 representation of the positive infinity

  9. val PositiveZero: BSONDecimal

    Decimal128 representation of a postive zero value

  10. def apply(high: Long, low: Long): BSONDecimal

    Factory alias.

    Factory alias.

    high

    the high-order 64 bits

    low

    the low-order 64 bits

    Annotations
    @inline()
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def fromBigDecimal(value: BigDecimal): Try[BSONDecimal]

    Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.

    Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.

    value

    the BigDecimal representation

    Annotations
    @inline()
  16. def fromBigDecimal(value: BigDecimal): Try[BSONDecimal]

    Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.

    Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.

    value

    the BigDecimal representation

    Annotations
    @inline()
  17. def fromLong(high: Long): Try[BSONDecimal]

    Returns a Decimal128 value represented the given high 64bits value, using a default for the low one.

    Returns a Decimal128 value represented the given high 64bits value, using a default for the low one.

    high

    the high-order 64 bits

    Annotations
    @inline()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def parse(repr: String): Try[BSONDecimal]

    Returns the Decimal128 corresponding to the given string representation.

    Returns the Decimal128 corresponding to the given string representation.

    repr

    the Decimal128 value represented as string

    See also

    Decimal128 string representation

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toBigDecimal(decimal: BSONDecimal): Try[BigDecimal]

    Returns the corresponding BigDecimal.

  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def unapply(that: Any): Option[(Long, Long)]

    Extracts the (high, low) representation.

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped