public static class ArithmeticOperators.Floor extends Object
AggregationExpression
for $floor
.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.Floor |
floorValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Floor . |
static ArithmeticOperators.Floor |
floorValueOf(Number value)
Creates new
ArithmeticOperators.Floor . |
static ArithmeticOperators.Floor |
floorValueOf(String fieldReference)
Creates new
ArithmeticOperators.Floor . |
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.Floor floorValueOf(String fieldReference)
ArithmeticOperators.Floor
.fieldReference
- must not be null.public static ArithmeticOperators.Floor floorValueOf(AggregationExpression expression)
ArithmeticOperators.Floor
.expression
- must not be null.public static ArithmeticOperators.Floor floorValueOf(Number value)
ArithmeticOperators.Floor
.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.