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 static List<Field> |
asFields(String... fieldRefs) |
protected String |
getMongoMethod() |
ArithmeticOperators.Log |
log(AggregationExpression expression) |
ArithmeticOperators.Log |
log(Number base) |
ArithmeticOperators.Log |
log(String fieldReference) |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(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 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.