Class ObjectExpressions.MergeObjects
- java.lang.Object
-
- dev.morphia.aggregation.expressions.impls.Expression
-
- dev.morphia.aggregation.expressions.ObjectExpressions.MergeObjects
-
- Enclosing class:
- ObjectExpressions
public static class ObjectExpressions.MergeObjects extends dev.morphia.aggregation.expressions.impls.Expression
Defines the values to be merged.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MergeObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectExpressions.MergeObjects
add(dev.morphia.aggregation.expressions.impls.Expression expression)
Adds an expression to be mergedvoid
encode(Datastore datastore, BsonWriter writer, EncoderContext encoderContext)
-
-
-
Method Detail
-
add
public ObjectExpressions.MergeObjects add(dev.morphia.aggregation.expressions.impls.Expression expression)
Adds an expression to be merged- Parameters:
expression
- the expression- Returns:
- this
-
encode
public void encode(Datastore datastore, BsonWriter writer, EncoderContext encoderContext)
- Overrides:
encode
in classdev.morphia.aggregation.expressions.impls.Expression
- Parameters:
datastore
- the datastorewriter
- the writerencoderContext
- the context
-
-