public static class SetOperators.SetDifference extends Object
AggregationExpression
for $setDifference
.protected String getMongoMethod()
public static SetOperators.SetDifference arrayAsSet(String arrayReference)
SetOperators.SetDifference
.arrayReference
- must not be null.public static SetOperators.SetDifference arrayAsSet(AggregationExpression expression)
SetOperators.SetDifference
.expression
- must not be null.public SetOperators.SetDifference differenceTo(String arrayReference)
SetOperators.SetDifference
with all previously added arguments appending the given one.arrayReference
- must not be null.public SetOperators.SetDifference differenceTo(AggregationExpression expression)
SetOperators.SetDifference
with all previously added arguments appending the given one.expression
- must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpression
toDbObject
in interface AggregationExpression
public com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.