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