public static class ArithmeticOperators.Pow extends Object
AggregationExpression for $pow.| 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) |
protected String |
getMongoMethod() |
ArithmeticOperators.Pow |
pow(AggregationExpression expression) |
ArithmeticOperators.Pow |
pow(Number value) |
ArithmeticOperators.Pow |
pow(String fieldReference) |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(Object value,
AggregationOperationContext context) |
static ArithmeticOperators.Pow |
valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Pow. |
static ArithmeticOperators.Pow |
valueOf(Number value)
Creates new
ArithmeticOperators.Pow. |
static ArithmeticOperators.Pow |
valueOf(String fieldReference)
Creates new
ArithmeticOperators.Pow. |
protected List<Object> |
values() |
protected String getMongoMethod()
public static ArithmeticOperators.Pow valueOf(String fieldReference)
ArithmeticOperators.Pow.fieldReference - must not be null.public static ArithmeticOperators.Pow valueOf(AggregationExpression expression)
ArithmeticOperators.Pow.expression - must not be null.public static ArithmeticOperators.Pow valueOf(Number value)
ArithmeticOperators.Pow.value - must not be null.public ArithmeticOperators.Pow pow(String fieldReference)
public ArithmeticOperators.Pow pow(AggregationExpression expression)
public ArithmeticOperators.Pow pow(Number value)
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.