Class Fields<T>
- java.lang.Object
-
- dev.morphia.aggregation.experimental.expressions.impls.Fields<T>
-
public class Fields<T> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
add(String name)
T
add(String name, Expression expression)
void
encode(Mapper mapper, org.bson.BsonWriter writer, org.bson.codecs.EncoderContext encoderContext)
List<PipelineField>
getFields()
static <T> Fields<T>
on(T owner)
int
size()
-
-
-
Constructor Detail
-
Fields
protected Fields(T owner)
-
-
Method Detail
-
on
public static <T> Fields<T> on(T owner)
-
add
public T add(String name, Expression expression)
-
encode
public void encode(Mapper mapper, org.bson.BsonWriter writer, org.bson.codecs.EncoderContext encoderContext)
-
getFields
public List<PipelineField> getFields()
-
size
public int size()
-
-