Package

org.mongodb.scala

bson

Permalink

package bson

The bson package, contains mirrors and companion objects for Bson values.

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

Type Members

  1. type BsonArray = bson.BsonArray

    Permalink

    Alias to org.bson.BsonArray

  2. type BsonBinary = bson.BsonBinary

    Permalink

    Alias to org.bson.BsonBinary

  3. type BsonBoolean = bson.BsonBoolean

    Permalink

    Alias to org.bson.BsonBoolean

  4. type BsonDateTime = bson.BsonDateTime

    Permalink

    Alias to org.bson.BsonDateTime

  5. type BsonDocument = bson.BsonDocument

    Permalink

    Alias to org.bson.BsonDocument

  6. type BsonDouble = bson.BsonDouble

    Permalink

    Alias to org.bson.BsonDouble

  7. type BsonElement = bson.BsonElement

    Permalink

    Alias to org.bson.BsonElement

  8. type BsonInt32 = bson.BsonInt32

    Permalink

    Alias to org.bson.BsonInt32

  9. type BsonInt64 = bson.BsonInt64

    Permalink

    Alias to org.bson.BsonInt64

  10. type BsonJavaScript = bson.BsonJavaScript

    Permalink

    Alias to org.bson.BsonJavaScript

  11. type BsonJavaScriptWithScope = bson.BsonJavaScriptWithScope

    Permalink

    Alias to org.bson.BsonJavaScriptWithScope

  12. type BsonMaxKey = bson.BsonMaxKey

    Permalink

    Alias to org.bson.BsonMaxKey

  13. type BsonMinKey = bson.BsonMinKey

    Permalink

    Alias to org.bson.BsonMinKey

  14. type BsonNull = bson.BsonNull

    Permalink

    Alias to org.bson.BsonNull

  15. type BsonNumber = bson.BsonNumber

    Permalink

    Alias to org.bson.BsonNumber

  16. type BsonObjectId = bson.BsonObjectId

    Permalink

    Alias to org.bson.BsonObjectId

  17. type BsonRegularExpression = bson.BsonRegularExpression

    Permalink

    Alias to org.bson.BsonRegularExpression

  18. type BsonString = bson.BsonString

    Permalink

    Alias to org.bson.BsonString

  19. type BsonSymbol = bson.BsonSymbol

    Permalink

    Alias to org.bson.BsonSymbol

  20. type BsonTimestamp = bson.BsonTimestamp

    Permalink

    Alias to org.bson.BsonTimestamp

  21. trait BsonTransformer[-T] extends AnyRef

    Permalink

    BsonTransformers allow the transformation of type T to their corresponding BsonValue.

    BsonTransformers allow the transformation of type T to their corresponding BsonValue.

    Custom implementations can be written to implicitly to convert a T into a BsonValue so it can be stored in a Document.

    T

    the type of value to be transformed into a BsonValue.

    Annotations
    @implicitNotFound( ... )
    Since

    1.0

  22. type BsonUndefined = bson.BsonUndefined

    Permalink

    Alias to org.bson.BsonUndefined

  23. type BsonValue = bson.BsonValue

    Permalink

    Alias to org.bson.BsonValue

  24. trait DefaultBsonTransformers extends AnyRef

    Permalink

    Default BsonTransformers for native types.

  25. type Document = bson.collection.immutable.Document

    Permalink

    An immutable Document implementation.

    An immutable Document implementation.

    A strictly typed Map[String, BsonValue] like structure that traverses the elements in insertion order. Unlike native scala maps there is no variance in the value type and it always has to be a BsonValue.

  26. implicit final class RichBsonElement extends AnyVal

    Permalink

    Implicit value class for a BsonElement allowing easy access to the key/value pair

Value Members

  1. object BsonArray

    Permalink

    Companion helper for a BsonArray

    Companion helper for a BsonArray

    Since

    1.0

  2. object BsonBinary

    Permalink

    Companion helper for a BsonBinary

    Companion helper for a BsonBinary

    Since

    1.0

  3. object BsonBoolean

    Permalink

    Companion helper for a BsonBoolean

    Companion helper for a BsonBoolean

    Since

    1.0

  4. object BsonDateTime

    Permalink

    Companion helper for a BsonDateTime

    Companion helper for a BsonDateTime

    Since

    1.0

  5. object BsonDocument

    Permalink

    Companion helper for a BsonDocument

    Companion helper for a BsonDocument

    Since

    1.0

  6. object BsonDouble

    Permalink

    Companion helper for a BsonDouble

    Companion helper for a BsonDouble

    Since

    1.0

  7. object BsonElement

    Permalink

    A companion helper for a BsonElement - the mapping from a name to a BsonValue.

    A companion helper for a BsonElement - the mapping from a name to a BsonValue.

    Used by the BsonMagnets and polices valid key/value pairs types for Document.

    Since

    1.0

  8. object BsonInt32

    Permalink

    Companion helper for a BsonInt32

    Companion helper for a BsonInt32

    Since

    1.0

  9. object BsonInt64

    Permalink

    Companion helper for a BsonInt64

    Companion helper for a BsonInt64

    Since

    1.0

  10. object BsonJavaScript

    Permalink

    Companion helper for a BsonJavaScript

    Companion helper for a BsonJavaScript

    Since

    1.0

  11. object BsonJavaScriptWithScope

    Permalink

    Companion helper for a BsonJavaScriptWithScope

    Companion helper for a BsonJavaScriptWithScope

    Since

    1.0

  12. object BsonMagnets

    Permalink

    A magnet pattern implementation enforcing the validity of user provided native values being able to be converted into BsonValues.

    A magnet pattern implementation enforcing the validity of user provided native values being able to be converted into BsonValues.

    Attributes
    protected
    Since

    1.0

  13. object BsonMaxKey

    Permalink

    Companion helper for a BsonMaxKey

    Companion helper for a BsonMaxKey

    Since

    1.0

  14. object BsonMinKey

    Permalink

    Companion helper for a BsonMinKey

    Companion helper for a BsonMinKey

    Since

    1.0

  15. object BsonNull

    Permalink

    Companion helper for a BsonNull

    Companion helper for a BsonNull

    Since

    1.0

  16. object BsonNumber

    Permalink

    Companion helper for a BsonNumber

    Companion helper for a BsonNumber

    Since

    1.0

  17. object BsonObjectId

    Permalink

    Companion helper for a BsonObjectId

    Companion helper for a BsonObjectId

    Since

    1.0

  18. object BsonRegularExpression

    Permalink

    Companion helper for a BsonRegularExpression

    Companion helper for a BsonRegularExpression

    Since

    1.0

  19. object BsonString

    Permalink

    Companion helper for a BsonString

    Companion helper for a BsonString

    Since

    1.0

  20. object BsonSymbol

    Permalink

    Companion helper for a BsonSymbol

    Companion helper for a BsonSymbol

    Since

    1.0

  21. object BsonTimestamp

    Permalink

    Companion helper for a BsonTimestamp

    Companion helper for a BsonTimestamp

    Since

    1.0

  22. object BsonTransformer extends DefaultBsonTransformers

    Permalink

    Maps the following native scala types to BsonValues:

    Maps the following native scala types to BsonValues:

    • BsonValue => BsonValue
    • Boolean => BsonBoolean
    • String => BsonString
    • Array[Byte] => BsonBinary
    • Regex => BsonRegex
    • Date => BsonDateTime
    • ObjectId => BsonObjectId
    • Int => BsonInt32
    • Long => BsonInt64
    • Double => BsonDouble
    • None => BsonNull
    • immutable.Document => BsonDocument
    • mutable.Document => BsonDocument
    • Option[T] => BsonValue where T is one of the above types
    • Seq[(String, T)] => BsonDocument where T is one of the above types
    • Seq[T] => BsonArray where T is one of the above types
  23. object BsonUndefined

    Permalink

    Companion helper for a BsonUndefined

    Companion helper for a BsonUndefined

    Since

    1.0

  24. object DefaultHelper

    Permalink

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    Attributes
    protected[org.mongodb.scala]
    Since

    1.0

  25. val Document: bson.collection.immutable.Document.type

    Permalink

    An immutable Document implementation.

    An immutable Document implementation.

    A strictly typed Map[String, BsonValue] like structure that traverses the elements in insertion order. Unlike native scala maps there is no variance in the value type and it always has to be a BsonValue.

  26. package codecs

    Permalink
  27. package collection

    Permalink

    The collection package.

Inherited from AnyRef

Inherited from Any

Ungrouped