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() |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(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 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.