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 Map<String,Object> |
argumentMap()
Get the argument map.
|
protected static List<Field> |
asFields(String... fieldRefs) |
protected boolean |
contains(Object key)
Check if the given key is available.
|
protected <T> T |
get(int index)
Get the value at a given index.
|
protected <T> T |
get(Object key)
Get the value for a given key.
|
protected String |
getMongoMethod() |
ArithmeticOperators.Pow |
pow(AggregationExpression expression) |
ArithmeticOperators.Pow |
pow(Number value) |
ArithmeticOperators.Pow |
pow(String fieldReference) |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
org.bson.Document |
toDocument(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 org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionpublic org.bson.Document toDocument(Object value, AggregationOperationContext context)
protected <T> T get(int index)
T - index - protected <T> T get(Object key)
T - key - protected boolean contains(Object key)
key - Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.