Trait

org.mongodb.scala.bson

DefaultBsonTransformers

Related Doc: package bson

Permalink

trait DefaultBsonTransformers extends AnyRef

Default BsonTransformers for native types.

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultBsonTransformers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. implicit object TransformBinary extends BsonTransformer[Array[Byte]]

    Permalink

    Transforms Array[Byte] to BsonBinary

  5. implicit object TransformBoolean extends BsonTransformer[Boolean]

    Permalink

    Transforms Boolean to BsonBoolean

  6. implicit object TransformBsonValue extends BsonTransformer[BsonValue]

    Permalink

    Noop transformer for BsonValues

  7. implicit object TransformDateTime extends BsonTransformer[Date]

    Permalink

    Transforms Date to BsonDateTime

  8. implicit object TransformDouble extends BsonTransformer[Double]

    Permalink

    Transforms Double to BsonDouble

  9. implicit object TransformImmutableDocument extends BsonTransformer[collection.immutable.Document]

    Permalink

    Transforms immutable.Document to BsonDocument

  10. implicit object TransformInt extends BsonTransformer[Int]

    Permalink

    Transforms Int to BsonInt32

  11. implicit object TransformLong extends BsonTransformer[Long]

    Permalink

    Transforms Long to BsonInt64

  12. implicit object TransformMutableDocument extends BsonTransformer[collection.mutable.Document]

    Permalink

    Transforms mutable.Document to BsonDocument

  13. implicit object TransformNone extends BsonTransformer[Option[Nothing]]

    Permalink

    Transforms None to BsonNull

  14. implicit object TransformObjectId extends BsonTransformer[ObjectId]

    Permalink

    Transforms ObjectId to BsonObjectId

  15. implicit object TransformRegex extends BsonTransformer[Regex]

    Permalink

    Transforms Regex to BsonRegex

  16. implicit object TransformString extends BsonTransformer[String]

    Permalink

    Transforms String to BsonString

  17. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. implicit def transformKeyValuePairs[T](implicit transformer: BsonTransformer[T]): BsonTransformer[Seq[(String, T)]]

    Permalink

    Transforms Seq[(String, T)] to BsonDocument

    Transforms Seq[(String, T)] to BsonDocument

    T

    the type of the values

    transformer

    implicit transformer for type T

    returns

    a BsonDocument containing the values

  31. implicit def transformOption[T](implicit transformer: BsonTransformer[T]): BsonTransformer[Option[T]]

    Permalink

    Transforms Option[T] to BsonValue

  32. implicit def transformSeq[T](implicit transformer: BsonTransformer[T]): BsonTransformer[Seq[T]]

    Permalink

    Transforms Seq[T] to BsonArray

    Transforms Seq[T] to BsonArray

    T

    the type of the values

    transformer

    implicit transformer for type T

    returns

    a BsonArray containing all the values

  33. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped