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

  • DensifyOptions
  • DensifyRange
  • package fill

    Definition Classes
    model
    Since

    4.7

    Note

    Requires MongoDB 5.3 or greater.

    See also

    Aggregates.fill

  • 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

    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 densify

Since

4.7

Note

Requires MongoDB 5.1 or greater.

See also

Aggregates.densify

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

Type Members

  1. type DateDensifyRange = com.mongodb.client.model.densify.DateDensifyRange

    Annotations
    @Evolving()
    See also

    DensifyRange.fullRangeWithStep

    DensifyRange.partitionRangeWithStep

    DensifyRange.rangeWithStep

  2. type DensifyOptions = com.mongodb.client.model.densify.DensifyOptions

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

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

    Annotations
    @Evolving()
    See also

    Aggregates.densify

  3. type DensifyRange = com.mongodb.client.model.densify.DensifyRange

    A specification of how to compute the missing field values for which new documents must be added.

    A specification of how to compute the missing field values for which new documents must be added. It specifies a half-closed interval of values with the lower bound being inclusive, and a step. The first potentially missing value within each interval is its lower bound, other values are computed by adding the step multiple times, until the result is out of the interval. Each time the step is added, the result is a potentially missing value for which a new document must be added if the sequence of documents that is being densified does not have a document with equal value of the field.

    Annotations
    @Evolving()
    See also

    Aggregates.densify

  4. type NumberDensifyRange = com.mongodb.client.model.densify.NumberDensifyRange

    Annotations
    @Evolving()
    See also

    DensifyRange.fullRangeWithStep

    DensifyRange.partitionRangeWithStep

    DensifyRange.rangeWithStep

Value Members

  1. object DensifyOptions

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

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

    Since

    4.7

    Note

    Requires MongoDB 5.1 or greater.

    See also

    Aggregates.densify

  2. object DensifyRange

    A specification of how to compute the missing field values for which new documents must be added.

    A specification of how to compute the missing field values for which new documents must be added. It specifies a half-closed interval of values with the lower bound being inclusive, and a step. The first potentially missing value within each interval is its lower bound, other values are computed by adding the step multiple times, until the result is out of the interval. Each time the step is added, the result is a potentially missing value for which a new document must be added if the sequence of documents that is being densified does not have a document with equal value of the field.

    Since

    4.7

    Note

    Requires MongoDB 5.1 or greater.

    See also

    Aggregates.densify

Inherited from AnyRef

Inherited from Any

Ungrouped