public static class SetOperators.SetIntersection extends Object
AggregationExpression for $setIntersection.protected String getMongoMethod()
public static SetOperators.SetIntersection arrayAsSet(String arrayReference)
SetOperators.SetIntersectionarrayReference - 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 org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionpublic org.bson.Document toDocument(Object value, AggregationOperationContext context)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.