Class/Object

unicorn.oid

BsonObjectId

Related Docs: object BsonObjectId | package oid

Permalink

class BsonObjectId extends ObjectId

BSON's 12-byte ObjectId type, constructed using: a 4-byte value representing the seconds since the Unix epoch, a 3-byte machine identifier, a 2-byte process id, and a 3-byte counter, starting with a random value.

The implementation is adopt from ReactiveMongo.

Linear Supertypes
ObjectId, Comparable[ObjectId], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BsonObjectId
  2. ObjectId
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BsonObjectId(id: Array[Byte])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compareTo(o: ObjectId): Int

    Permalink
    Definition Classes
    ObjectId → Comparable
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ObjectId → AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getTimestamp: Date

    Permalink

    The timestamp port of ObjectId object as a Date

  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. val id: Array[Byte]

    Permalink
    Definition Classes
    ObjectId
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def string: String

    Permalink

    Suppose the byte array is the UTF-8 encoding of a printable string.

    Suppose the byte array is the UTF-8 encoding of a printable string.

    Definition Classes
    ObjectId
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink

    In the form of a string literal "ObjectId(...)"

    In the form of a string literal "ObjectId(...)"

    Definition Classes
    BsonObjectIdObjectId → AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ObjectId

Inherited from Comparable[ObjectId]

Inherited from AnyRef

Inherited from Any

Ungrouped