Package org.elasticsearch.xcontent
package org.elasticsearch.xcontent
-
ClassDescriptionAbstractObjectParser<Value,
Context> Superclass forObjectParser
andConstructingObjectParser
.ConstructingObjectParser<Value,Context> LikeObjectParser
but works with objects that have constructors whose arguments are mixed in with its other settings.ContextParser<Context,T> Reads an object from a parser using some context.Callback for notifying the creator of theXContentParser
that parsing hit a deprecated field.Extension point to customize the error message for unknown fields.Filters an existing XContentParser by using a delegateInstantiatingObjectParser<Value,Context> LikeConstructingObjectParser
but works with objects which have a constructor that matches declared fields.InstantiatingObjectParser.Builder<Value,Context> Thrown whenNamedXContentRegistry
cannot locate a named object to parse for a particular nameAn entry in the NamedXContentRegistry containing the name of the object and the parser that can parse it.ObjectParser<Value,Context> A declarative, stateless parser that turns XContent into setter calls.ObjectParser.NamedObjectParser<T,Context> Functional interface for instantiating and parsing named objects.ObjectParser.Parser<Value,Context> Defines how to consume a parsed undefined fieldHelper class to navigate nested objects using dot notationHolds a field that can be found in a request while parsing and its different variants, which may be deprecated.Marks the constructor that should be used by InstantiatingObjectParser if multiple constructors with the same number of arguments exist.An interface allowing to transfer an object to "XContent" using anXContentBuilder
.An interface allowing to transfer an object to "XContent" using anXContentBuilder
.An interface allowing to transfer an object to "XContent" using anXContentBuilder
.A generic abstraction on top of handling content, inspired by JSON and pull parsing.A utility to build XContent (ie json).Interface for transforming complex objects into their "raw" equivalents for human-readable fieldsThis interface provides a way for non-JDK classes to plug in a way to serialize to xcontent.A one stop to useXContent
andXContentBuilder
.Simple data structure representing the line and column number of a position in some XContent e.g.Thrown when one of the XContent parsers cannot parse something.Interface for pull - parsingXContent
seeXContentType
for supported types.Wrapper for a XContentParser that makes a single object/array look like a complete document.The content type ofXContent
.