Class SliceExpression
- java.lang.Object
-
- dev.morphia.aggregation.experimental.expressions.impls.Expression
-
- dev.morphia.aggregation.experimental.expressions.impls.SliceExpression
-
public class SliceExpression extends Expression
-
-
Constructor Summary
Constructors Constructor Description SliceExpression(Expression array, int size)
-
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)
SliceExpression
position(Integer position)
-
Methods inherited from class dev.morphia.aggregation.experimental.expressions.impls.Expression
getOperation, getValue, toString
-
-
-
-
Constructor Detail
-
SliceExpression
public SliceExpression(Expression array, int size)
-
-
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
-
position
public SliceExpression position(Integer position)
-
-