public static class SetOperators.SetIntersection extends Object
AggregationExpression
for $setIntersection
.protected String getMongoMethod()
public static SetOperators.SetIntersection arrayAsSet(String arrayReference)
SetOperators.SetIntersection
arrayReference
- must not be null.public static SetOperators.SetIntersection arrayAsSet(AggregationExpression expression)
SetOperators.SetIntersection
.expression
- must not be null.public SetOperators.SetIntersection intersects(String... arrayReferences)
SetOperators.SetIntersection
with all previously added arguments appending the given one.arrayReferences
- must not be null.public SetOperators.SetIntersection intersects(AggregationExpression... expressions)
SetOperators.SetIntersection
with all previously added arguments appending the given one.expressions
- 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–2018 Pivotal Software, Inc.. All rights reserved.