Object/Trait

org.mongodb.scala.bson

BsonTransformer

Related Docs: trait BsonTransformer | package bson

Permalink

object BsonTransformer extends DefaultBsonTransformers

Maps the following native scala types to BsonValues:

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BsonTransformer
  2. DefaultBsonTransformers
  3. AnyRef
  4. 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

    Transforms Array[Byte] to BsonBinary

    Definition Classes
    DefaultBsonTransformers
  5. implicit object TransformBoolean extends BsonTransformer[Boolean]

    Permalink

    Transforms Boolean to BsonBoolean

    Transforms Boolean to BsonBoolean

    Definition Classes
    DefaultBsonTransformers
  6. implicit object TransformBsonValue extends BsonTransformer[BsonValue]

    Permalink

    Noop transformer for BsonValues

    Noop transformer for BsonValues

    Definition Classes
    DefaultBsonTransformers
  7. implicit object TransformDateTime extends BsonTransformer[Date]

    Permalink

    Transforms Date to BsonDateTime

    Transforms Date to BsonDateTime

    Definition Classes
    DefaultBsonTransformers
  8. implicit object TransformDouble extends BsonTransformer[Double]

    Permalink

    Transforms Double to BsonDouble

    Transforms Double to BsonDouble

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

    Permalink

    Transforms immutable.Document to BsonDocument

    Transforms immutable.Document to BsonDocument

    Definition Classes
    DefaultBsonTransformers
  10. implicit object TransformInt extends BsonTransformer[Int]

    Permalink

    Transforms Int to BsonInt32

    Transforms Int to BsonInt32

    Definition Classes
    DefaultBsonTransformers
  11. implicit object TransformLong extends BsonTransformer[Long]

    Permalink

    Transforms Long to BsonInt64

    Transforms Long to BsonInt64

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

    Permalink

    Transforms mutable.Document to BsonDocument

    Transforms mutable.Document to BsonDocument

    Definition Classes
    DefaultBsonTransformers
  13. implicit object TransformNone extends BsonTransformer[Option[Nothing]]

    Permalink

    Transforms None to BsonNull

    Transforms None to BsonNull

    Definition Classes
    DefaultBsonTransformers
  14. implicit object TransformObjectId extends BsonTransformer[ObjectId]

    Permalink

    Transforms ObjectId to BsonObjectId

    Transforms ObjectId to BsonObjectId

    Definition Classes
    DefaultBsonTransformers
  15. implicit object TransformRegex extends BsonTransformer[Regex]

    Permalink

    Transforms Regex to BsonRegex

    Transforms Regex to BsonRegex

    Definition Classes
    DefaultBsonTransformers
  16. implicit object TransformString extends BsonTransformer[String]

    Permalink

    Transforms String to BsonString

    Transforms String to BsonString

    Definition Classes
    DefaultBsonTransformers
  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

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

    Permalink

    Transforms Option[T] to BsonValue

    Transforms Option[T] to BsonValue

    Definition Classes
    DefaultBsonTransformers
  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

    Definition Classes
    DefaultBsonTransformers
  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 DefaultBsonTransformers

Inherited from AnyRef

Inherited from Any

Ungrouped