scalaz.stream.mongodb.bson.BSONValuesImplicits

BSONDBOConverter

implicit class BSONDBOConverter[A <: BSONObject] extends DBObjectOps[A]

Linear Supertypes
DBObjectOps[A], Ops[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BSONDBOConverter
  2. DBObjectOps
  3. Ops
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BSONDBOConverter(self: A)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++=(o: BSONObject): BSONObject

    appends keys and values to BSBObject.

    appends keys and values to BSBObject. This mutates DBObject and will return mutated object *

    Definition Classes
    DBObjectOps
  5. def ++=(m: Map[String, collectionSyntax.BSONAny]): BSONObject

    appends elements of given map to BSBObject.

    appends elements of given map to BSBObject. This mutates DBObject and will return mutated object *

    Definition Classes
    DBObjectOps
  6. def +=[A](p: (String, A))(implicit arg0: BSONSerializable[A]): BSONObject

    Adds given key to object *

    Adds given key to object *

    Definition Classes
    DBObjectOps
  7. def --=(k: TraversableOnce[String]): A

    Removes more keys from DBObject.

    Removes more keys from DBObject. This mutates DBObject and will return mutated object *

    Definition Classes
    DBObjectOps
  8. def -=(k: String): BSONObject

    removes given key from DBObject.

    removes given key from DBObject. This mutates DBObject and will return mutated object *

    Definition Classes
    DBObjectOps
  9. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  11. def _id: Option[ObjectId]

    Helper to get a _id of the object, this is type-unsafe and may fail with exception if _id is not ObjectId *

    Helper to get a _id of the object, this is type-unsafe and may fail with exception if _id is not ObjectId *

    Definition Classes
    DBObjectOps
  12. def apply[A](k: String)(implicit arg0: BSONSerializable[A]): A

    Unsafe variant of getAs, will fail if the k does not exists and if k is different type than A *

    Unsafe variant of getAs, will fail if the k does not exists and if k is different type than A *

    Definition Classes
    DBObjectOps
  13. def as[A](k: String)(implicit arg0: BSONSerializable[A]): A

    Alias to apply

    Alias to apply

    Definition Classes
    DBObjectOps
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def asMap: Map[String, Any]

    Converts DBObject to scala map.

    Converts DBObject to scala map. Returned map is immutable and will not reflect any changed in DBObject *

    Definition Classes
    DBObjectOps
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getAs[A](k: String)(implicit arg0: BSONSerializable[A]): Option[A]

    Gets field of object, if of supplied type.

    Gets field of object, if of supplied type. This is type-unsafe and may fail with exception if k is not of A type *

    Definition Classes
    DBObjectOps
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. val self: A

    Definition Classes
    BSONDBOConverter → Ops
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def tryAs[A](k: String)(implicit arg0: BSONSerializable[A]): Try[A]

    Safe variant of as *

    Safe variant of as *

    Definition Classes
    DBObjectOps
  31. def tryGetAs[A](k: String)(implicit arg0: BSONSerializable[A]): Option[Try[A]]

    Safe variant of getAs *

    Safe variant of getAs *

    Definition Classes
    DBObjectOps
  32. def try_id: Option[Try[ObjectId]]

    Safe variant of _id *

    Safe variant of _id *

    Definition Classes
    DBObjectOps
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DBObjectOps[A]

Inherited from Ops[A]

Inherited from AnyRef

Inherited from Any

Ungrouped