public static class ArithmeticOperators.Ceil extends Object
AggregationExpression
for $ceil
.Modifier and Type | Method and Description |
---|---|
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
protected static List<Field> |
asFields(String... fieldRefs) |
static ArithmeticOperators.Ceil |
ceilValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Ceil . |
static ArithmeticOperators.Ceil |
ceilValueOf(Number value)
Creates new
ArithmeticOperators.Ceil . |
static ArithmeticOperators.Ceil |
ceilValueOf(String fieldReference)
Creates new
ArithmeticOperators.Ceil . |
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 ArithmeticOperators.Ceil ceilValueOf(String fieldReference)
ArithmeticOperators.Ceil
.fieldReference
- must not be null.public static ArithmeticOperators.Ceil ceilValueOf(AggregationExpression expression)
ArithmeticOperators.Ceil
.expression
- must not be null.public static ArithmeticOperators.Ceil ceilValueOf(Number value)
ArithmeticOperators.Ceil
.value
- 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.