Class Push
- java.lang.Object
-
- dev.morphia.aggregation.expressions.impls.Expression
-
- dev.morphia.aggregation.expressions.impls.Push
-
- All Implemented Interfaces:
FieldHolder<Push>
public class Push extends Expression implements FieldHolder<Push>
-
-
Constructor Summary
Constructors Constructor Description Push()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(Datastore datastore, BsonWriter writer, EncoderContext encoderContext)Pushfield(String name, Expression expression)Pushsingle(Expression source)-
Methods inherited from class dev.morphia.aggregation.expressions.impls.Expression
getOperation, getValue, toString
-
-
-
-
Method Detail
-
encode
public void encode(Datastore datastore, BsonWriter writer, EncoderContext encoderContext)
- Overrides:
encodein classExpression- Parameters:
datastore- the datastorewriter- the writerencoderContext- the context
-
field
public Push field(String name, Expression expression)
- Specified by:
fieldin interfaceFieldHolder<Push>
-
single
public Push single(Expression source)
-
-