public static class ArithmeticOperators.Abs extends Object
AggregationExpression for $abs.| Modifier and Type | Method and Description |
|---|---|
static ArithmeticOperators.Abs |
absoluteValueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Abs. |
static ArithmeticOperators.Abs |
absoluteValueOf(Number value)
Creates new
ArithmeticOperators.Abs. |
static ArithmeticOperators.Abs |
absoluteValueOf(String fieldReference)
Creates new
ArithmeticOperators.Abs. |
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
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 ArithmeticOperators.Abs absoluteValueOf(String fieldReference)
ArithmeticOperators.Abs.fieldReference - must not be null.public static ArithmeticOperators.Abs absoluteValueOf(AggregationExpression expression)
ArithmeticOperators.Abs.expression - must not be null.public static ArithmeticOperators.Abs absoluteValueOf(Number value)
ArithmeticOperators.Abs.value - must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpressiontoDbObject in interface AggregationExpressionpublic com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.