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. 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
  2. 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
  3. 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
  4. 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
  5. def canEqual(that: Any): Boolean
    Definition Classes
    BSONObjectID → Equals
  6. val code: Byte

    The code indicating the BSON type for this value

    The code indicating the BSON type for this value

    Definition Classes
    BSONObjectIDBSONValue
  7. def equals(that: Any): Boolean
    Definition Classes
    BSONObjectID → Equals → AnyRef → Any
  8. lazy val hashCode: Int
    Definition Classes
    BSONObjectID → AnyRef → Any
  9. 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
  10. 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
  11. lazy val stringify: String

    ObjectId hexadecimal String representation

  12. def time: Long

    The time of this BSONObjectId, in milliseconds

  13. def timeSecond: Int

    The time of this BSONObjectId, in seconds

  14. def toString(): String
    Definition Classes
    BSONObjectID → AnyRef → Any
  15. def valueAsArray: Array[Byte]