Java com.mongodb QueryBuilder fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb QueryBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb QueryBuilder.

The text is from its open source code.

Subclass

com.mongodb.QueryBuilder has subclasses.
Click this link to see all its subclasses.

Constructor

QueryBuilder()
Creates a builder with an empty query

Method

QueryBuilderall(final Object object)
Equivalent of the $all operand
QueryBuilderand(final String key)
Equivalent to QueryBuilder.put(key) .
QueryBuilderand(final DBObject... ands)
Equivalent to an $and operand
QueryBuilderexists(final Object object)
Equivalent of the $exists operand
DBObjectget()
Creates a DBObject query to be used for the driver's find operations
QueryBuildergreaterThan(final Object object)
Equivalent to the $gt operator
QueryBuildergreaterThanEquals(final Object object)
Equivalent to the $gte operator
QueryBuilderin(final Object object)
Equivalent of the $in operand
QueryBuilderis(final Object object)
Equivalent of the find({key:value})
QueryBuilderlessThan(final Object object)
Equivalent to the $lt operand
QueryBuilderlessThanEquals(final Object object)
Equivalent to the $lte operand
QueryBuildernot()
Equivalent to $not meta operator.
QueryBuildernotEquals(final Object object)
Equivalent of the $ne operand
QueryBuildernotIn(final Object object)
Equivalent of the $nin operand
QueryBuilderor(final DBObject... ors)
Equivalent to an $or operand
QueryBuilderput(final String key)
Adds a new key to the query if not present yet.
QueryBuilderregex(final Pattern regex)
Passes a regular expression for a query
QueryBuilderstart(final String key)
Creates a new query with a document key
QueryBuilderstart()
Returns a new QueryBuilder.
QueryBuildertext(final String search)
Equivalent to a $text operand.