public static class SetOperators.AllElementsTrue extends Object
AggregationExpression for $allElementsTrue.| Modifier and Type | Method and Description |
|---|---|
SetOperators.AllElementsTrue |
allElementsTrue() |
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
static SetOperators.AllElementsTrue |
arrayAsSet(AggregationExpression expression)
Creates new
SetOperators.AllElementsTrue. |
static SetOperators.AllElementsTrue |
arrayAsSet(String arrayReference)
Creates new
SetOperators.AllElementsTrue. |
protected static List<Field> |
asFields(String... fieldRefs) |
protected String |
getMongoMethod() |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
org.bson.Document |
toDocument(Object value,
AggregationOperationContext context) |
protected List<Object> |
values() |
protected String getMongoMethod()
public static SetOperators.AllElementsTrue arrayAsSet(String arrayReference)
SetOperators.AllElementsTrue.arrayReference - must not be null.public static SetOperators.AllElementsTrue arrayAsSet(AggregationExpression expression)
SetOperators.AllElementsTrue.expression - must not be null.public SetOperators.AllElementsTrue allElementsTrue()
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.