case class IterableCodecProvider(bsonTypeClassMap: BsonTypeClassMap, valueTransformer: Option[Transformer]) extends CodecProvider with Product with Serializable
A CodecProvider
for classes than implement the Iterable
interface.
- bsonTypeClassMap
the non-null
BsonTypeClassMap
with which to construct instances ofDocumentCodec
andListCodec
.- valueTransformer
the value transformer for decoded values
- Since
1.2
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- IterableCodecProvider
- Serializable
- Serializable
- Product
- Equals
- CodecProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
IterableCodecProvider(bsonTypeClassMap: BsonTypeClassMap, valueTransformer: Option[Transformer])
- bsonTypeClassMap
the non-null
BsonTypeClassMap
with which to construct instances ofDocumentCodec
andListCodec
.- valueTransformer
the value transformer for decoded values
Value Members
- val bsonTypeClassMap: BsonTypeClassMap
-
def
get[T](clazz: Class[T], registry: CodecRegistry): Codec[T]
- Definition Classes
- IterableCodecProvider → CodecProvider
- Annotations
- @SuppressWarnings()
- val valueTransformer: Option[Transformer]
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: