Package-level declarations
Properties
Functions
Creates a filter that performs a logical AND of the provided list of filters. Note that this will only generate a "$and" operator if absolutely necessary, as the query language implicity ands together all the keys. In other words, a query expression like:
$arrayElemAt aggregator operator support.
$arrayElemAt aggregator operator support.
Create an index key for an ascending index on the given fields.
Creates a filter that matches all documents where all of the bit positions are clear in the property.
Creates a filter that matches all documents where all of the bit positions are set in the property.
Creates a filter that matches all documents where any of the bit positions are clear in the property.
Creates a filter that matches all documents where any of the bit positions are set in the property.
Creates an update that performs a bitwise and between the given integer value and the integral value of the property.
Creates an update that performs a bitwise and between the given long value and the integral value of the property.
Creates an update that performs a bitwise or between the given integer value and the integral value of the property.
Creates an update that performs a bitwise or between the given long value and the integral value of the property.
Creates an update that performs a bitwise xor between the given integer value and the integral value of the property.
Creates an update that performs a bitwise xor between the given long value and the integral value of the property.
Creates a $bucket pipeline stage
Creates a $bucketAuto pipeline stage
Returns a $cond expression.
Creates an update that sets the value of the property to the current date as a BSON date.
Creates an update that sets the value of the property to the current date as a BSON timestamp.
$dateToString aggregator operator support.
Builds $dayOfMonth expression for this property .
Creates an DeleteManyModel.
Create a sort specification for a descending sort on the given properties.
Create an index key for a descending index on the given fields.
Returns a composed property. For example Friend.address / Address.postalCode = "address.postalCode".
Returns a collection composed property. For example Friend.addresses / Address.postalCode = "addresses.postalCode".
Returns a map composed property. For example Friend.addresses / Address.postalCode = "addresses.postalCode".
Produce a bson document with the specified elements.
Creates a projection that includes for the given property only the first element of an array that matches the query filter. This is referred to as the positional $ operator.
Creates a projection that includes for the given property only the first element of the array value of that field that matches the given query filter.
Creates a filter that matches all documents that contain the given property.
Creates a filter that matches all documents that either contain or do not contain the given property, depending on the value of the exists parameter.
Creates a filter that matches all documents that validate against the given JSON schema document.
Creates an FindOneAndUpdateOptions and set upsert to true.
Format this string to remove space(s) between $ and next char
Builds Bson from this String format and the specified expression.
Creates a projection of a property whose value is computed from the given expression.
Builds Bson for the MongoOperator and the specified expression.
Create an index key for an 2dsphere index on the given fields.
Creates a filter that matches all documents containing a property with geospatial data that intersects with the specified shape.
Creates a filter that matches all documents containing a property with geospatial data (GeoJSON or legacy coordinate pairs) that exist entirely within the specified circle, using spherical geometry. If using longitude and latitude, specify longitude first.
Creates a graphLookup pipeline stage for the specified filter
Creates a $group pipeline stage for the specified filter
Create an index key for a hashed index on the given property.
Creates a filter that matches all documents where the value of a property equals any value in the list of specified values.
Creates an update that increments the value of the property by the given value.
Create a compound multiple index specifications. If any properties are repeated, the last one takes precedence.
Create a compound index specifications. If any properties are repeated, the last one takes precedence.
Construct an instance with the given keys and options.
Creates a filter that matches all documents that validate against the given JSON schema document.
Key projection of map. Sample: p.keyProjection(Locale.ENGLISH) / Gift::amount
Creates a $lookup pipeline stage for the specified filter
Creates a $lookup pipeline stage, joining the current collection with the one specified in from using the given pipeline
Creates a projection to the given property of the textScore, for use with text queries.
Builds $millisecond expression for this property .
Creates an update that multiplies the value of the property by the given number.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point using spherical geometry.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point using spherical geometry.
Combine multiple sort specifications. If any properties are repeated, the last one takes precedence.
Creates a $project pipeline stage for all specified properties
Creates a $project pipeline stage for the specified getProjection
In order to write $p.p2
Creates an update that removes from an array all elements that match the given filter.
Creates an update that removes all instances of the given value from the array value of the property.
Creates an update that adds each of the given values to the array value of the property, applying the given options for positioning the pushed values, and then slicing and/or sorting the array.
Creates a filter that matches all documents where the value of the property matches the given regular expression pattern.
Creates a filter that matches all documents where the value of the option matches the given regular expression pattern with the given options applied.
Returns a composed property without type checks. For example Friend.address % Address.postalCode = "address.postalCode".
Creates an ReplaceOneModel.
Creates a $replaceRoot pipeline stage
Creates an ReplaceOptions and set upsert to true.
Creates an update that sets the value of the property to the given value, but only if the update is an upsert that results in an insert of a document.
Creates an update that sets the collection to the given value, but only if the update is an upsert that results in an insert of a document.
Creates a $sortByCount pipeline stage for the specified filter
Create a sort specification for the text score meta getProjection on the given property.
Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.
Creates an UpdateManyModel.
Defines a Variable for the lookup operator.