Package com.mongodb.client.model
@NonNullApi
package com.mongodb.client.model
This package contains models and options that help describe MongoCollection operations
-
ClassDescriptionBuilders for accumulators used in the group pipeline stage of an aggregation pipeline.Builders for aggregation pipeline stages.A representation of a BSON document field whose value is another BSON document.The options for a $bucketAuto aggregation pipeline stageGranularity values for automatic bucketing.The options for a $bucket aggregation pipeline stageThe options to apply to a bulk write.Options for change stream pre- and post- images.Options for cluster index on a collection.The options regarding collation support in MongoDB 3.4+A Collation builder.Collation support allows the specific configuration of whether or not spaces and punctuation are considered base characters.Collation support allows the specific configuration of how character cases are handled.Collation support allows the specific configuration of whether or not spaces and punctuation are considered base characters.Collation support allows the specific configuration of how differences between characters are handled.The options for a count operation.Options for creating a collectionAuxiliary parameters for creating an encrypted collection.The options to apply to the command when creating indexes.Options for creating a viewA model describing the removal of all documents matching the query filter.A model describing the removal of at most one document matching the query filter.The options to apply when deleting documents.Options for dropping a collectionThe options to apply to the command when dropping indexes.The options an estimated count operation.Defines a Facet for use in $facet pipeline stages.Field<TExpression>Helps define new fields for the $addFields pipeline stageA factory for query filters.The options to apply to an operation that atomically finds a document and deletes it.The options to apply to an operation that atomically finds a document and replaces it.The options to apply to an operation that atomically finds a document and updates it.The options for a
Aggregates.geoNear(com.mongodb.client.model.geojson.Point, java.lang.String, com.mongodb.client.model.GeoNearOptions)
pipeline stage.The options for a graphLookup aggregation pipeline stageA factory for defining index keys.A model describing the creation of a single index.The default options for a collection to apply on the creation of indexes.The options to apply to the creation of an index.The options to apply to an operation that inserts multiple documents into a collection.A model describing an insert of a single document.The options to apply to an operation that inserts a single document into a collection.Deprecated.Superseded by aggregateOptions to control the behavior of the $merge aggregation stageThe behavior of $merge if a result document and an existing document in the collection have the same value for the specified on field(s).The behavior of $merge if a result document does not match an existing document in the out collection.Units for specifying time-based values.A factory for projections.The options to apply to a $push update operator.This interface represents a quantile method used in quantile accumulators of the$group
and$setWindowFields
stages.The options to apply when renaming a collection.A model describing the replacement of at most one document that matches the query filter.The options to apply when replacing documents.Indicates which document to return, the original document before change or the document after the changeA model describing the creation of a single Atlas Search index.A factory for sort specifications.Text search options for theFilters.text(String, TextSearchOptions)
helperAn enumeration of time-series data granularity.Options related to the creation of time-series collections.The options for an unwind aggregation pipeline stageA model describing an update to all documents that matches the query filter.A model describing an update to at most one document that matches the query filter.The options to apply when updating documents.A factory for document updates.Determines whether to error on invalid documents or just warn about the violations but allow invalid documents.Determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.Validation options for documents being inserted or updated in a collectionVariable<TExpression>Helps define new variable for the $lookup pipeline stageA subset of documents within a partition in the$setWindowFields
pipeline stage of an aggregation pipeline (seepartitionBy
inAggregates.setWindowFields(Object, Bson, Iterable)
).The core part of the$setWindowFields
pipeline stage of an aggregation pipeline.Builders for window output fields used in the$setWindowFields
pipeline stage of an aggregation pipeline.Builders for windows used when expressing windowed computations.Special values that may be used when specifying the bounds of a window.WriteModel<T>A base class for models that can be used in a bulk write operations.