public static class StringOperators.ToUpper extends Object
AggregationExpression
for $toUpper
.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() |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(Object value,
AggregationOperationContext context) |
static StringOperators.ToUpper |
upper(String value)
Creates new
StringOperators.ToUpper . |
static StringOperators.ToUpper |
upperValueOf(AggregationExpression expression)
Creates new
StringOperators.ToUpper . |
static StringOperators.ToUpper |
upperValueOf(String fieldReference)
Creates new
StringOperators.ToUpper . |
protected List<Object> |
values() |
protected String getMongoMethod()
public static StringOperators.ToUpper upperValueOf(String fieldReference)
StringOperators.ToUpper
.fieldReference
- must not be null.public static StringOperators.ToUpper upperValueOf(AggregationExpression expression)
StringOperators.ToUpper
.expression
- must not be null.public static StringOperators.ToUpper upper(String value)
StringOperators.ToUpper
.value
- must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpression
toDbObject
in interface AggregationExpression
public com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.