public static class ComparisonOperators.Gt extends Object
AggregationExpression for $gt.| 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.Gt |
greaterThan(AggregationExpression expression)
Creates new
ComparisonOperators.Gt with all previously added arguments appending the given one. |
ComparisonOperators.Gt |
greaterThan(String fieldReference)
Creates new
ComparisonOperators.Gt with all previously added arguments appending the given one. |
ComparisonOperators.Gt |
greaterThanValue(Object value)
Creates new
ComparisonOperators.Gt 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.Gt |
valueOf(AggregationExpression expression)
Creates new
ComparisonOperators.Gt. |
static ComparisonOperators.Gt |
valueOf(String fieldReference)
Creates new
ComparisonOperators.Gt. |
protected List<Object> |
values() |
protected String getMongoMethod()
public static ComparisonOperators.Gt valueOf(String fieldReference)
ComparisonOperators.Gt.fieldReference - must not be null.public static ComparisonOperators.Gt valueOf(AggregationExpression expression)
ComparisonOperators.Gt.expression - must not be null.public ComparisonOperators.Gt greaterThan(String fieldReference)
ComparisonOperators.Gt with all previously added arguments appending the given one.fieldReference - must not be null.public ComparisonOperators.Gt greaterThan(AggregationExpression expression)
ComparisonOperators.Gt with all previously added arguments appending the given one.expression - must not be null.public ComparisonOperators.Gt greaterThanValue(Object value)
ComparisonOperators.Gt 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.