public static class ComparisonOperators.Lt extends Object
AggregationExpression for $lt.| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
protected static List<Field> |
asFields(String... fieldRefs) |
protected String |
getMongoMethod() |
ComparisonOperators.Lt |
lessThan(AggregationExpression expression)
Creates new
ComparisonOperators.Lt with all previously added arguments appending the given one. |
ComparisonOperators.Lt |
lessThan(String fieldReference)
Creates new
ComparisonOperators.Lt with all previously added arguments appending the given one. |
ComparisonOperators.Lt |
lessThanValue(Object value)
Creates new
ComparisonOperators.Lt with all previously added arguments appending the given one. |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(Object value,
AggregationOperationContext context) |
static ComparisonOperators.Lt |
valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Lt. |
static ComparisonOperators.Lt |
valueOf(String fieldReference)
Creates new
ComparisonOperators.Lt. |
protected List<Object> |
values() |
protected String getMongoMethod()
public static ComparisonOperators.Lt valueOf(String fieldReference)
ComparisonOperators.Lt.fieldReference - must not be null.public static ComparisonOperators.Lt valueOf(AggregationExpression expression)
ComparisonOperators.Lt.expression - must not be null.public ComparisonOperators.Lt lessThan(String fieldReference)
ComparisonOperators.Lt with all previously added arguments appending the given one.fieldReference - must not be null.public ComparisonOperators.Lt lessThan(AggregationExpression expression)
ComparisonOperators.Lt with all previously added arguments appending the given one.expression - must not be null.public ComparisonOperators.Lt lessThanValue(Object value)
ComparisonOperators.Lt with all previously added arguments appending the given one.value - must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpressiontoDbObject in interface AggregationExpressionpublic com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.