A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mongodb.github.io/mongo-java-driver/3.4/javadoc/com/mongodb/client/model/Filters.html below:

Filters

Modifier and Type Method and Description static <TItem> Bson all(String fieldName, Iterable<TItem> values)

Creates a filter that matches all documents where the value of a field is an array that contains all the specified values.

static <TItem> Bson all(String fieldName, TItem... values)

Creates a filter that matches all documents where the value of a field is an array that contains all the specified values.

static Bson and(Bson... filters)

Creates a filter that performs a logical AND of the provided list of filters.

static Bson and(Iterable<Bson> filters)

Creates a filter that performs a logical AND of the provided list of filters.

static Bson bitsAllClear(String fieldName, long bitmask)

Creates a filter that matches all documents where all of the bit positions are clear in the field.

static Bson bitsAllSet(String fieldName, long bitmask)

Creates a filter that matches all documents where all of the bit positions are set in the field.

static Bson bitsAnyClear(String fieldName, long bitmask)

Creates a filter that matches all documents where any of the bit positions are clear in the field.

static Bson bitsAnySet(String fieldName, long bitmask)

Creates a filter that matches all documents where any of the bit positions are set in the field.

static Bson elemMatch(String fieldName, Bson filter)

Creates a filter that matches all documents containing a field that is an array where at least one member of the array matches the given filter.

static <TItem> Bson eq(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the field name equals the specified value.

static Bson exists(String fieldName)

Creates a filter that matches all documents that contain the given field.

static Bson exists(String fieldName, boolean exists)

Creates a filter that matches all documents that either contain or do not contain the given field, depending on the value of the exists parameter.

static Bson geoIntersects(String fieldName, Bson geometry)

Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.

static Bson geoIntersects(String fieldName, Geometry geometry)

Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.

static Bson geoWithin(String fieldName, Bson geometry)

Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.

static Bson geoWithin(String fieldName, Geometry geometry)

Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.

static Bson geoWithinBox(String fieldName, double lowerLeftX, double lowerLeftY, double upperRightX, double upperRightY)

Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified box.

static Bson geoWithinCenter(String fieldName, double x, double y, double radius)

Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified circle.

static Bson geoWithinCenterSphere(String fieldName, double x, double y, double radius)

Creates a filter that matches all documents containing a field with geospatial data (GeoJSON or legacy coordinate pairs) that exist entirely within the specified circle, using spherical geometry.

static Bson geoWithinPolygon(String fieldName, List<List<Double>> points)

Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified polygon.

static <TItem> Bson gt(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the given field is greater than the specified value.

static <TItem> Bson gte(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the given field is greater than or equal to the specified value.

static <TItem> Bson in(String fieldName, Iterable<TItem> values)

Creates a filter that matches all documents where the value of a field equals any value in the list of specified values.

static <TItem> Bson in(String fieldName, TItem... values)

Creates a filter that matches all documents where the value of a field equals any value in the list of specified values.

static <TItem> Bson lt(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the given field is less than the specified value.

static <TItem> Bson lte(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the given field is less than or equal to the specified value.

static Bson mod(String fieldName, long divisor, long remainder)

Creates a filter that matches all documents where the value of a field divided by a divisor has the specified remainder (i.e.

static <TItem> Bson ne(String fieldName, TItem value)

Creates a filter that matches all documents where the value of the field name does not equal the specified value.

static Bson near(String fieldName, Bson geometry, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.

static Bson near(String fieldName, double x, double y, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified point.

static Bson near(String fieldName, Point geometry, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.

static Bson nearSphere(String fieldName, Bson geometry, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point using spherical geometry.

static Bson nearSphere(String fieldName, double x, double y, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified point using spherical geometry.

static Bson nearSphere(String fieldName, Point geometry, Double maxDistance, Double minDistance)

Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point using spherical geometry.

static <TItem> Bson nin(String fieldName, Iterable<TItem> values)

Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.

static <TItem> Bson nin(String fieldName, TItem... values)

Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.

static Bson nor(Bson... filters)

Creates a filter that performs a logical NOR operation on all the specified filters.

static Bson nor(Iterable<Bson> filters)

Creates a filter that performs a logical NOR operation on all the specified filters.

static Bson not(Bson filter)

Creates a filter that matches all documents that do not match the passed in filter.

static Bson or(Bson... filters)

Creates a filter that preforms a logical OR of the provided list of filters.

static Bson or(Iterable<Bson> filters)

Creates a filter that preforms a logical OR of the provided list of filters.

static Bson regex(String fieldName, Pattern pattern)

Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.

static Bson regex(String fieldName, String pattern)

Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.

static Bson regex(String fieldName, String pattern, String options)

Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.

static Bson size(String fieldName, int size)

Creates a filter that matches all documents where the value of a field is an array of the specified size.

static Bson text(String search)

Creates a filter that matches all documents matching the given search term.

static Bson text(String search, String language) static Bson text(String search, TextSearchOptions textSearchOptions)

Creates a filter that matches all documents matching the given the search term with the given text search options.

static Bson type(String fieldName, BsonType type)

Creates a filter that matches all documents where the value of the field is of the specified BSON type.

static Bson type(String fieldName, String type)

Creates a filter that matches all documents where the value of the field is of the specified BSON type.

static Bson where(String javaScriptExpression)

Creates a filter that matches all documents for which the given expression is true.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4