Packages

t

org.mongodb.scala.bson

DefaultBsonTransformers

trait DefaultBsonTransformers extends AnyRef

Default BsonTransformers for native types.

Linear Supertypes
Known Subclasses
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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. implicit def transformKeyValuePairs[T](implicit transformer: BsonTransformer[T]): BsonTransformer[Seq[(String, T)]]

    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

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

    Transforms Option[T] to BsonValue

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

    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

  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. implicit object TransformBigDecimal extends BsonTransformer[BigDecimal]

    Transforms BigDecimal to BsonDecimal128

  24. implicit object TransformBinary extends BsonTransformer[Array[Byte]]

    Transforms Array[Byte] to BsonBinary

  25. implicit object TransformBoolean extends BsonTransformer[Boolean]

    Transforms Boolean to BsonBoolean

  26. implicit object TransformBsonValue extends BsonTransformer[BsonValue]

    Noop transformer for BsonValues

  27. implicit object TransformDateTime extends BsonTransformer[Date]

    Transforms Date to BsonDateTime

  28. implicit object TransformDecimal128 extends BsonTransformer[Decimal128]

    Transforms Decimal128 to BsonDecimal128

  29. implicit object TransformDouble extends BsonTransformer[Double]

    Transforms Double to BsonDouble

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

    Transforms immutable.Document to BsonDocument

  31. implicit object TransformInt extends BsonTransformer[Int]

    Transforms Int to BsonInt32

  32. implicit object TransformLong extends BsonTransformer[Long]

    Transforms Long to BsonInt64

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

    Transforms mutable.Document to BsonDocument

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

    Transforms None to BsonNull

  35. implicit object TransformObjectId extends BsonTransformer[ObjectId]

    Transforms ObjectId to BsonObjectId

  36. implicit object TransformRegex extends BsonTransformer[Regex]

    Transforms Regex to BsonRegex

  37. implicit object TransformString extends BsonTransformer[String]

    Transforms String to BsonString

Inherited from AnyRef

Inherited from Any

Ungrouped