Class Push
- java.lang.Object
-
- dev.morphia.aggregation.experimental.expressions.impls.Expression
-
- dev.morphia.aggregation.experimental.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 void
encode(Mapper mapper, org.bson.BsonWriter writer, org.bson.codecs.EncoderContext encoderContext)
Push
field(String name, Expression expression)
Push
single(Expression source)
-
Methods inherited from class dev.morphia.aggregation.experimental.expressions.impls.Expression
getOperation, getValue, toString
-
-
-
-
Method Detail
-
encode
public void encode(Mapper mapper, org.bson.BsonWriter writer, org.bson.codecs.EncoderContext encoderContext)
- Overrides:
encode
in classExpression
- Parameters:
mapper
- the mapperwriter
- the writerencoderContext
- the context
-
field
public Push field(String name, Expression expression)
- Specified by:
field
in interfaceFieldHolder<Push>
-
single
public Push single(Expression source)
-
-