Class/Object

smile.json

ObjectId

Related Docs: object ObjectId | package json

Permalink

case class ObjectId(id: Array[Byte]) extends Product with Serializable

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectId
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by objectId2JsValue
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectId(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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to any2stringadd[ObjectId] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ObjectId, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to ArrowAssoc[ObjectId] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply(range: Range): JsArray

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  7. def apply(start: Int, end: Int, step: Int): JsArray

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  8. def apply(start: Int, end: Int): JsArray

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  9. def apply(index: Int): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  10. def apply(key: String): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  11. def applyDynamic(key: String)(index: Int): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  12. def asBoolean: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  13. def asDate: LocalDate

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  14. def asDateTime: LocalDateTime

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  15. def asDecimal: BigDecimal

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  16. def asDouble: Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def asInt: Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  19. def asLong: Long

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  20. def asTime: LocalTime

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  21. def asTimestamp: Timestamp

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def compactPrint: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  24. def ensuring(cond: (ObjectId) ⇒ Boolean, msg: ⇒ Any): ObjectId

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to Ensuring[ObjectId] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: (ObjectId) ⇒ Boolean): ObjectId

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to Ensuring[ObjectId] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean, msg: ⇒ Any): ObjectId

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to Ensuring[ObjectId] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): ObjectId

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to Ensuring[ObjectId] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to StringFormat[ObjectId] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. def get(key: String): Option[JsValue]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  33. final def getClass(): Class[_]

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

    Permalink
  35. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  39. def prettyPrint: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  40. def remove(index: Int): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  41. def remove(key: String): Option[JsValue]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  42. def selectDynamic(key: String): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def timestamp: Date

    Permalink

    The timestamp port of ObjectId object as a Date

  45. def toString(): String

    Permalink

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

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

    Definition Classes
    ObjectId → AnyRef → Any
  46. def update(index: Int, value: JsValue): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  47. def update(key: String, value: JsValue): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  48. def updateDynamic(index: Int)(value: JsValue): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  49. def updateDynamic(key: String)(value: JsValue): JsValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsValue
  50. val value: ObjectId

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Definition Classes
    JsObjectId
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def [B](y: B): (ObjectId, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to ArrowAssoc[ObjectId] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def equals(o: Any): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (objectId: JsObjectId).equals(o)
    Definition Classes
    JsObjectId → Equals → AnyRef → Any
  2. def toString(): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectId to JsObjectId performed by method objectId2JsValue in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (objectId: JsObjectId).toString()
    Definition Classes
    JsObjectIdJsValue → AnyRef → Any

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion objectId2JsValue from ObjectId to JsObjectId

Inherited by implicit conversion any2stringadd from ObjectId to any2stringadd[ObjectId]

Inherited by implicit conversion StringFormat from ObjectId to StringFormat[ObjectId]

Inherited by implicit conversion Ensuring from ObjectId to Ensuring[ObjectId]

Inherited by implicit conversion ArrowAssoc from ObjectId to ArrowAssoc[ObjectId]

Ungrouped