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
Ordering
- Alphabetic
- By Inheritance
Inherited
- BSONObjectID
- Equals
- Serializable
- BSONValue
- AnyRef
- Any
Implicitly
- by ExtendedBSONValue
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- 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
- 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
- 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 equals(that: Any): Boolean
- Definition Classes
- BSONObjectID → Equals → AnyRef → Any
- lazy val hashCode: Int
- Definition Classes
- BSONObjectID → AnyRef → Any
- 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
- 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]