Example usage for Java com.mongodb QueryBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
QueryBuilder() Creates a builder with an empty query |
QueryBuilder | all(final Object object) Equivalent of the $all operand |
QueryBuilder | and(final String key) Equivalent to QueryBuilder.put(key) . |
QueryBuilder | and(final DBObject... ands) Equivalent to an $and operand |
QueryBuilder | exists(final Object object) Equivalent of the $exists operand |
DBObject | get() Creates a DBObject query to be used for the driver's find operations |
QueryBuilder | greaterThan(final Object object) Equivalent to the $gt operator |
QueryBuilder | greaterThanEquals(final Object object) Equivalent to the $gte operator |
QueryBuilder | in(final Object object) Equivalent of the $in operand |
QueryBuilder | is(final Object object) Equivalent of the find({key:value}) |
QueryBuilder | lessThan(final Object object) Equivalent to the $lt operand |
QueryBuilder | lessThanEquals(final Object object) Equivalent to the $lte operand |
QueryBuilder | not() Equivalent to $not meta operator. |
QueryBuilder | notEquals(final Object object) Equivalent of the $ne operand |
QueryBuilder | notIn(final Object object) Equivalent of the $nin operand |
QueryBuilder | or(final DBObject... ors) Equivalent to an $or operand |
QueryBuilder | put(final String key) Adds a new key to the query if not present yet. |
QueryBuilder | regex(final Pattern regex) Passes a regular expression for a query |
QueryBuilder | start(final String key) Creates a new query with a document key |
QueryBuilder | start() Returns a new QueryBuilder. |
QueryBuilder | text(final String search) Equivalent to a $text operand. |