public static class SetOperators.SetIsSubset extends Object
AggregationExpression
for $setIsSubset
.protected String getMongoMethod()
public static SetOperators.SetIsSubset arrayAsSet(String arrayReference)
SetOperators.SetIsSubset
.arrayReference
- must not be null.public static SetOperators.SetIsSubset arrayAsSet(AggregationExpression expression)
SetOperators.SetIsSubset
.expression
- must not be null.public SetOperators.SetIsSubset isSubsetOf(String arrayReference)
SetOperators.SetIsSubset
with all previously added arguments appending the given one.arrayReference
- must not be null.public SetOperators.SetIsSubset isSubsetOf(AggregationExpression expression)
SetOperators.SetIsSubset
with all previously added arguments appending the given one.expression
- must not be null.public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpression
toDocument
in interface AggregationExpression
public org.bson.Document toDocument(Object value, AggregationOperationContext context)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.