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()
- Alphabetic
- By Inheritance
- BSONObjectID
- Equals
- Serializable
- BSONValue
- AnyRef
- Any
- by ExtendedBSONValue
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- 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
- 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
- def canEqual(that: Any): Boolean
- Definition Classes
- BSONObjectID → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val code: Byte
The code indicating the BSON type for this value
The code indicating the BSON type for this value
- Definition Classes
- BSONObjectID → BSONValue
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- BSONObjectID → Equals → AnyRef → Any
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val hashCode: Int
- Definition Classes
- BSONObjectID → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- lazy val stringify: String
ObjectId hexadecimal String representation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def time: Long
The time of this BSONObjectId, in milliseconds
- def timeSecond: Int
The time of this BSONObjectId, in seconds
- def toString(): String
- Definition Classes
- BSONObjectID → AnyRef → Any
- def valueAsArray: Array[Byte]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- 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.
- 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.