public class MongoConstraint extends Constraint
MongoQuery and most probably generated by
MongoFilterFactory.QueryBuilder.FILTERS| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected Object |
object |
| Constructor and Description |
|---|
MongoConstraint(String key,
Object object)
Creates a new constraint for the given field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
asString(StringBuilder builder)
Creates a string representation of this constraint.
|
String |
getKey() |
Object |
getObject() |
toStringpublic void asString(StringBuilder builder)
ConstraintasString in class Constraintbuilder - the target to write the string representation topublic String getKey()
public Object getObject()
Copyright © 2018. All rights reserved.