Packages

class BSONObjectID extends BSONValue with Serializable with Equals

BSON ObjectId value.

+------------------------+------------------------+------------------------+------------------------+ + timestamp (in seconds) + machine identifier + thread identifier + increment + + (4 bytes) + (3 bytes) + (2 bytes) + (3 bytes) + +------------------------+------------------------+------------------------+------------------------+

Annotations
@SerialVersionUID()
Linear Supertypes
Equals, Serializable, BSONValue, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONObjectID
  2. Equals
  3. Serializable
  4. BSONValue
  5. AnyRef
  6. Any
Implicitly
  1. by ExtendedBSONValue
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BSONObjectID toany2stringadd[BSONObjectID] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BSONObjectID, B)
    Implicit
    This member is added by an implicit conversion from BSONObjectID toArrowAssoc[BSONObjectID] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def as[T](implicit reader: BSONReader[BSONObjectID, T]): T
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asOpt[T](implicit reader: BSONReader[BSONObjectID, T]): Option[T]
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  9. def asTry[T](implicit reader: BSONReader[BSONObjectID, T]): Try[T]
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  10. val bson: BSONObjectID
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  11. def canEqual(that: Any): Boolean
    Definition Classes
    BSONObjectID → Equals
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. val code: Byte

    The code indicating the BSON type for this value

    The code indicating the BSON type for this value

    Definition Classes
    BSONObjectIDBSONValue
  14. def ensuring(cond: (BSONObjectID) => Boolean, msg: => Any): BSONObjectID
    Implicit
    This member is added by an implicit conversion from BSONObjectID toEnsuring[BSONObjectID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (BSONObjectID) => Boolean): BSONObjectID
    Implicit
    This member is added by an implicit conversion from BSONObjectID toEnsuring[BSONObjectID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): BSONObjectID
    Implicit
    This member is added by an implicit conversion from BSONObjectID toEnsuring[BSONObjectID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): BSONObjectID
    Implicit
    This member is added by an implicit conversion from BSONObjectID toEnsuring[BSONObjectID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(that: Any): Boolean
    Definition Classes
    BSONObjectID → Equals → AnyRef → Any
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BSONObjectID toStringFormat[BSONObjectID] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. lazy val hashCode: Int
    Definition Classes
    BSONObjectID → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def seeAsOpt[T](implicit reader: BSONReader[_ <: BSONValue, T]): Option[T]
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  28. def seeAsTry[T](implicit reader: BSONReader[_ <: BSONValue, T]): Try[T]
    Implicit
    This member is added by an implicit conversion from BSONObjectID toExtendedBSONValue[BSONObjectID] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  29. lazy val stringify: String

    ObjectId hexadecimal String representation

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def time: Long

    The time of this BSONObjectId, in milliseconds

  32. def timeSecond: Int

    The time of this BSONObjectId, in seconds

  33. def toString(): String
    Definition Classes
    BSONObjectID → AnyRef → Any
  34. def valueAsArray: Array[Byte]
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. 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.

  2. def [B](y: B): (BSONObjectID, B)
    Implicit
    This member is added by an implicit conversion from BSONObjectID toArrowAssoc[BSONObjectID] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Equals

Inherited from Serializable

Inherited from BSONValue

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ExtendedBSONValue fromBSONObjectID to ExtendedBSONValue[BSONObjectID]

Inherited by implicit conversion any2stringadd fromBSONObjectID to any2stringadd[BSONObjectID]

Inherited by implicit conversion StringFormat fromBSONObjectID to StringFormat[BSONObjectID]

Inherited by implicit conversion Ensuring fromBSONObjectID to Ensuring[BSONObjectID]

Inherited by implicit conversion ArrowAssoc fromBSONObjectID to ArrowAssoc[BSONObjectID]

Ungrouped