Class ExpressionHelper
- java.lang.Object
-
- dev.morphia.aggregation.experimental.codecs.ExpressionHelper
-
public final class ExpressionHelper extends Object
- Since:
- 2.1
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
array(org.bson.BsonWriter writer, Runnable body)
static void
array(org.bson.BsonWriter writer, String name, Runnable body)
static org.bson.Document
document(Mapper mapper, org.bson.Document seed, Consumer<org.bson.BsonWriter> body)
static void
document(org.bson.BsonWriter writer, Runnable body)
static void
document(org.bson.BsonWriter writer, String name, Runnable body)
static void
expression(Mapper mapper, org.bson.BsonWriter writer, Expression expression, org.bson.codecs.EncoderContext encoderContext)
static void
expression(Mapper mapper, org.bson.BsonWriter writer, String name, Expression expression, org.bson.codecs.EncoderContext encoderContext)
static void
value(Mapper mapper, org.bson.BsonWriter writer, Object value, org.bson.codecs.EncoderContext encoderContext)
static void
value(Mapper mapper, org.bson.BsonWriter writer, String name, Object value, org.bson.codecs.EncoderContext encoderContext)
-
-
-
Method Detail
-
array
public static void array(org.bson.BsonWriter writer, Runnable body)
-
document
public static void document(org.bson.BsonWriter writer, Runnable body)
-
document
public static org.bson.Document document(Mapper mapper, org.bson.Document seed, Consumer<org.bson.BsonWriter> body)
-
expression
public static void expression(Mapper mapper, org.bson.BsonWriter writer, String name, @Nullable Expression expression, org.bson.codecs.EncoderContext encoderContext)
- Parameters:
mapper
-writer
-name
-expression
-encoderContext
-
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
expression
public static void expression(Mapper mapper, org.bson.BsonWriter writer, @Nullable Expression expression, org.bson.codecs.EncoderContext encoderContext)
- Parameters:
mapper
-writer
-expression
-encoderContext
-
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
value
public static void value(Mapper mapper, org.bson.BsonWriter writer, String name, @Nullable Object value, org.bson.codecs.EncoderContext encoderContext)
- Parameters:
mapper
-writer
-name
-value
-encoderContext
-
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
value
public static void value(Mapper mapper, org.bson.BsonWriter writer, @Nullable Object value, org.bson.codecs.EncoderContext encoderContext)
- Parameters:
mapper
-writer
-value
-encoderContext
-
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-