public static class ArithmeticOperators.Log extends Object
AggregationExpression for $log.| 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.Log |
log(AggregationExpression expression) |
ArithmeticOperators.Log |
log(Number base) |
ArithmeticOperators.Log |
log(String fieldReference) |
org.bson.Document |
toDocument(AggregationOperationContext context)
|
org.bson.Document |
toDocument(Object value,
AggregationOperationContext context) |
static ArithmeticOperators.Log |
valueOf(AggregationExpression expression)
Creates new
ArithmeticOperators.Log. |
static ArithmeticOperators.Log |
valueOf(Number value)
Creates new
ArithmeticOperators.Log. |
static ArithmeticOperators.Log |
valueOf(String fieldReference)
Creates new
AccumulatorOperators.Min. |
protected List<Object> |
values() |
protected String getMongoMethod()
public static ArithmeticOperators.Log valueOf(String fieldReference)
AccumulatorOperators.Min.fieldReference - must not be null.public static ArithmeticOperators.Log valueOf(AggregationExpression expression)
ArithmeticOperators.Log.expression - must not be null.public static ArithmeticOperators.Log valueOf(Number value)
ArithmeticOperators.Log.value - must not be null.public ArithmeticOperators.Log log(String fieldReference)
public ArithmeticOperators.Log log(AggregationExpression expression)
public ArithmeticOperators.Log log(Number base)
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–2020 Pivotal Software, Inc.. All rights reserved.