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