Packages

  • package root

    This is the documentation for the MongoDB Scala driver.

    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:

    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package mongodb
    Definition Classes
    org
  • package scala

    The MongoDB Scala Driver package

    The MongoDB Scala Driver package

    Contains type aliases and companion objects to help when using the Scala API

    Definition Classes
    mongodb
    Since

    1.0

  • package bson

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

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

    Definition Classes
    scala
  • package connection

    The connection package contains classes that manage connecting to MongoDB servers.

    The connection package contains classes that manage connecting to MongoDB servers.

    Definition Classes
    scala
  • AsynchronousSocketChannelStreamFactoryFactory
  • ClusterSettings
  • ConnectionPoolSettings
  • NettyStreamFactoryFactory
  • ServerSettings
  • SocketSettings
  • SslSettings
  • package gridfs
    Definition Classes
    scala
  • package internal

    Internal companion objects for easy interaction with the Java based async library

    Internal companion objects for easy interaction with the Java based async library

    Definition Classes
    scala
    Since

    1.0

    Note

    Not directly accessible but accessible via package objects and aliases. Mirrors the async package naming convention and locations but under the org.mongodb.scala namespace

  • package model

    The model package containing models and options that help describe MongoCollection operations

    The model package containing models and options that help describe MongoCollection operations

    Definition Classes
    scala
  • package vault

    This package contains the Key Vault API

    This package contains the Key Vault API

    Definition Classes
    scala
    Since

    2.7

p

org.mongodb.scala

connection

package connection

The connection package contains classes that manage connecting to MongoDB servers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. connection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AsynchronousSocketChannelStreamFactoryFactory = com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    See also

    java.nio.channels.AsynchronousSocketChannel

  2. type AsynchronousSocketChannelStreamFactoryFactoryBuilder = Builder

    A StreamFactoryFactory builder for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory builder for AsynchronousSocketChannel-based streams.

    Since

    2.2

    See also

    java.nio.channels.AsynchronousSocketChannel

  3. type ClusterSettings = com.mongodb.connection.ClusterSettings

    Settings for the cluster.

  4. type ConnectionPoolSettings = com.mongodb.connection.ConnectionPoolSettings

    All settings that relate to the pool of connections to a MongoDB server.

  5. type NettyStreamFactoryFactory = com.mongodb.connection.netty.NettyStreamFactoryFactory

    A StreamFactoryFactory implementation for Netty-based streams.

    A StreamFactoryFactory implementation for Netty-based streams.

    Since

    2.2

  6. type NettyStreamFactoryFactoryBuilder = Builder

    A StreamFactoryFactory builder for Netty-based streams.

    A StreamFactoryFactory builder for Netty-based streams.

    Since

    2.2

  7. type ServerSettings = com.mongodb.connection.ServerSettings

    Settings relating to monitoring of each server.

  8. type SocketSettings = com.mongodb.connection.SocketSettings

    An immutable class representing socket settings used for connections to a MongoDB server.

  9. type SslSettings = com.mongodb.connection.SslSettings

    Settings for connecting to MongoDB via SSL.

  10. type StreamFactory = com.mongodb.connection.StreamFactory

    The factory for streams.

  11. type StreamFactoryFactory = com.mongodb.connection.StreamFactoryFactory

    A factory of StreamFactory instances.

  12. type TlsChannelStreamFactoryFactory = com.mongodb.connection.TlsChannelStreamFactoryFactory

    A StreamFactoryFactory that supports TLS/SSL.

    A StreamFactoryFactory that supports TLS/SSL.

    Since

    2.6

Value Members

  1. object AsynchronousSocketChannelStreamFactoryFactory

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.

    Since

    1.0

    See also

    java.nio.channels.AsynchronousSocketChannel

  2. object ClusterSettings

    Settings for the cluster.

    Settings for the cluster.

    Since

    1.0

  3. object ConnectionPoolSettings

    All settings that relate to the pool of connections to a MongoDB server.

    All settings that relate to the pool of connections to a MongoDB server.

    Since

    1.0

  4. object NettyStreamFactoryFactory

    A StreamFactoryFactory implementation for Netty-based streams.

    A StreamFactoryFactory implementation for Netty-based streams.

    Since

    1.0

  5. object ServerSettings

    Settings relating to monitoring of each server.

    Settings relating to monitoring of each server.

    Since

    1.0

  6. object SocketSettings

    An immutable class representing socket settings used for connections to a MongoDB server.

    An immutable class representing socket settings used for connections to a MongoDB server.

    Since

    1.0

  7. object SslSettings

    Settings for connecting to MongoDB via SSL.

    Settings for connecting to MongoDB via SSL.

    Since

    1.0

Inherited from AnyRef

Inherited from Any

Ungrouped