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