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 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 changestream
    Definition Classes
    model
  • package densify

    Definition Classes
    model
    Since

    4.7

    Note

    Requires MongoDB 5.1 or greater.

    See also

    Aggregates.densify

  • package fill

    Definition Classes
    model
    Since

    4.7

    Note

    Requires MongoDB 5.3 or greater.

    See also

    Aggregates.fill

  • FillOptions
  • FillOutputField
  • package geojson
    Definition Classes
    model
  • package search

    Query building API for MongoDB Atlas full-text search.

    Query building API for MongoDB Atlas full-text search.

    While all the building blocks of this API, such as SearchOptions, SearchHighlight, etc., are not necessary immutable, they are unmodifiable due to methods like SearchHighlight.maxCharsToExamine returning new instances instead of modifying the instance on which they are called. This allows storing and using such instances as templates.

    Definition Classes
    model
    Since

    4.7

    See also

    Aggregates.search

    Aggregates.vectorSearch

    Atlas Search

    Atlas Search aggregation pipeline stages

  • package vault

    This package contains options classes for the key vault API

    This package contains options classes for the key vault API

    Definition Classes
    model
    Since

    2.7

package fill

Since

4.7

Note

Requires MongoDB 5.3 or greater.

See also

Aggregates.fill

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

Type Members

  1. type FillOptions = com.mongodb.client.model.fill.FillOptions

    Represents optional fields of the $fill pipeline stage of an aggregation pipeline.

    Represents optional fields of the $fill pipeline stage of an aggregation pipeline.

    Annotations
    @Evolving()
    See also

    Aggregates.fill

  2. type FillOutputField = com.mongodb.client.model.fill.FillOutputField

    The core part of the $fill pipeline stage of an aggregation pipeline.

    The core part of the $fill pipeline stage of an aggregation pipeline. A pair of an expression/method and a path to a field to be filled with evaluation results of the expression/method.

    Annotations
    @Evolving()
    See also

    Aggregates.fill

  3. type LinearFillOutputField = com.mongodb.client.model.fill.LinearFillOutputField

    Annotations
    @Evolving()
    See also

    FillOutputField.linear

  4. type LocfFillOutputField = com.mongodb.client.model.fill.LocfFillOutputField

    Annotations
    @Evolving()
    See also

    FillOutputField.locf

  5. type ValueFillOutputField = com.mongodb.client.model.fill.ValueFillOutputField

    Annotations
    @Evolving()
    See also

    FillOutputField.value

Value Members

  1. object FillOptions

    Represents optional fields of the $fill pipeline stage of an aggregation pipeline.

    Represents optional fields of the $fill pipeline stage of an aggregation pipeline.

    Since

    4.7

    Note

    Requires MongoDB 5.3 or greater.

    See also

    Aggregates.fill

  2. object FillOutputField

    The core part of the $fill pipeline stage of an aggregation pipeline.

    The core part of the $fill pipeline stage of an aggregation pipeline. A pair of an expression/method and a path to a field to be filled with evaluation results of the expression/method.

    Since

    4.7

    Note

    Requires MongoDB 5.3 or greater.

    See also

    Aggregates.fill

Inherited from AnyRef

Inherited from Any

Ungrouped