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