Trait

org.mongodb.scala.bson

DefaultBsonTransformers

Related Doc: package bson

Permalink

trait DefaultBsonTransformers extends LowPrio

Default BsonTransformers for native types.

Linear Supertypes
LowPrio, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultBsonTransformers
  2. LowPrio
  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 TransformBigDecimal extends BsonTransformer[BigDecimal]

    Permalink

    Transforms BigDecimal to BsonDecimal128

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

    Permalink

    Transforms Array[Byte] to BsonBinary

  6. implicit object TransformBoolean extends BsonTransformer[Boolean]

    Permalink

    Transforms Boolean to BsonBoolean

  7. implicit object TransformBsonValue extends BsonTransformer[BsonValue]

    Permalink

    Noop transformer for BsonValues

  8. implicit object TransformDateTime extends BsonTransformer[Date]

    Permalink

    Transforms Date to BsonDateTime

  9. implicit object TransformDecimal128 extends BsonTransformer[Decimal128]

    Permalink

    Transforms Decimal128 to BsonDecimal128

  10. implicit object TransformDouble extends BsonTransformer[Double]

    Permalink

    Transforms Double to BsonDouble

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

    Permalink

    Transforms immutable.Document to BsonDocument

    Transforms immutable.Document to BsonDocument

    Definition Classes
    LowPrio
  12. implicit object TransformInt extends BsonTransformer[Int]

    Permalink

    Transforms Int to BsonInt32

  13. implicit object TransformLong extends BsonTransformer[Long]

    Permalink

    Transforms Long to BsonInt64

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

    Permalink

    Transforms mutable.Document to BsonDocument

    Transforms mutable.Document to BsonDocument

    Definition Classes
    LowPrio
  15. implicit object TransformNone extends BsonTransformer[Option[Nothing]]

    Permalink

    Transforms None to BsonNull

  16. implicit object TransformObjectId extends BsonTransformer[ObjectId]

    Permalink

    Transforms ObjectId to BsonObjectId

  17. implicit object TransformRegex extends BsonTransformer[Regex]

    Permalink

    Transforms Regex to BsonRegex

  18. implicit object TransformString extends BsonTransformer[String]

    Permalink

    Transforms String to BsonString

  19. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. 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
    LowPrio
  32. implicit def transformOption[T](implicit transformer: BsonTransformer[T]): BsonTransformer[Option[T]]

    Permalink

    Transforms Option[T] to BsonValue

  33. 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
    LowPrio
  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( ... )
  36. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LowPrio

Inherited from AnyRef

Inherited from Any

Ungrouped