public final class ObjectParserHelper<Value,Context>
extends java.lang.Object
ObjectParser
that allow dealing with
classes outside of the xcontent dependencies.Constructor | Description |
---|---|
ObjectParserHelper() |
Modifier and Type | Method | Description |
---|---|---|
void |
declareRawObject(AbstractObjectParser<Value,Context> parser,
java.util.function.BiConsumer<Value,BytesReference> consumer,
ParseField field) |
Helper to declare an object that will be parsed into a
BytesReference |
public void declareRawObject(AbstractObjectParser<Value,Context> parser, java.util.function.BiConsumer<Value,BytesReference> consumer, ParseField field)
BytesReference