Package | Description |
---|---|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.builder.expression |
Modifier and Type | Method and Description |
---|---|
ConditionBuilder |
ConditionBuilder.all(Constant... values)
Specify the values that must all be in the fields array.
|
ConditionBuilder |
ConditionBuilder.in(Constant... values)
Specify the values that one must match the fields value.
|
ConditionBuilder |
ConditionBuilder.notIn(Constant... values)
Specify the values that must not must not match the fields
value.
|
Modifier and Type | Method and Description |
---|---|
static Constant |
Expressions.constant(boolean value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(Date value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(double value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(int value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(long value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(ObjectId value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(Pattern value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constant(String value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constantMongoTimestamp(long value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.constantTimestamp(long value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.field(String value)
Returns a
Constant expression with the provided value. |
static Constant |
Expressions.nullConstant()
Returns a
null Constant expression. |
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.