Index

A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractObjectParser<Value,Context> - Class in org.elasticsearch.xcontent
AbstractObjectParser() - Constructor for class org.elasticsearch.xcontent.AbstractObjectParser
 
AbstractXContentParser - Class in org.elasticsearch.xcontent.support
 
AbstractXContentParser(NamedXContentRegistry, DeprecationHandler) - Constructor for class org.elasticsearch.xcontent.support.AbstractXContentParser
 
AbstractXContentParser(NamedXContentRegistry, DeprecationHandler, RestApiVersion) - Constructor for class org.elasticsearch.xcontent.support.AbstractXContentParser
 
accept(Value, String, Object) - Method in interface org.elasticsearch.xcontent.ObjectParser.UnknownFieldConsumer
 
allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
allowDuplicateKeys(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 
apply(XContentParser, Context) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
Call this to do the actual parsing.
apply(XContentParser, Context) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser
 
apply(XContentParser, Context) - Method in class org.elasticsearch.xcontent.ObjectParser
 
array(String, boolean[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, double[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, float[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, int[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, long[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, short[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, Object...) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, String...) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, BigDecimal[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, BigInteger[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
array(String, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 

B

BIG_DECIMAL - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
BIG_INTEGER - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
binaryValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
binaryValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
binaryValue() - Method in interface org.elasticsearch.xcontent.XContentParser
Reads a plain binary value that was written via one of the following methods: XContentBuilder.field(String, byte[], int, int)} XContentBuilder.field(String, byte[])} as well as via their String variants of the separated value methods.
BOOLEAN - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
BOOLEAN_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
BOOLEAN_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
booleanValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
booleanValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
booleanValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
build() - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
builder(String, boolean, Class<Value>) - Static method in class org.elasticsearch.xcontent.InstantiatingObjectParser
 
builder(String, Class<Value>) - Static method in class org.elasticsearch.xcontent.InstantiatingObjectParser
 
builder(XContent) - Static method in class org.elasticsearch.xcontent.XContentBuilder
Create a new XContentBuilder using the given XContent content.
builder(XContent, RestApiVersion) - Static method in class org.elasticsearch.xcontent.XContentBuilder
Create a new XContentBuilder using the given XContent content and RestApiVersion.
builder(XContentType, Set<String>, Set<String>) - Static method in class org.elasticsearch.xcontent.XContentBuilder
Create a new XContentBuilder using the given XContentType xContentType and some inclusive and/or exclusive filters.
Builder(String, boolean, Class<Value>) - Constructor for class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
Builder(String, Class<Value>) - Constructor for class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 

C

canonical() - Method in enum class org.elasticsearch.xcontent.XContentType
Returns a canonical XContentType for this XContentType.
categoryClass - Variable in class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
The class that this entry can read.
CBOR - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A CBOR based content type.
cborBuilder() - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns a content builder using CBOR format (XContentType.CBOR.
cborBuilder(OutputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Constructs a new cbor builder that will output the result into the provided output stream.
cborXContent - Static variable in class org.elasticsearch.xcontent.cbor.CborXContent
 
CborXContent - Class in org.elasticsearch.xcontent.cbor
CBOR based content.
charBuffer() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
charBuffer() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
charBuffer() - Method in interface org.elasticsearch.xcontent.XContentParser
Returns a CharBuffer holding UTF-8 bytes.
charBufferOrNull() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
charBufferOrNull() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
charBufferOrNull() - Method in interface org.elasticsearch.xcontent.XContentParser
 
close() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
close() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
close() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
close() - Method in class org.elasticsearch.xcontent.XContentSubParser
 
columnNumber() - Method in record class org.elasticsearch.xcontent.XContentLocation
Returns the value of the columnNumber record component.
CommonFields() - Constructor for class org.elasticsearch.xcontent.ParseField.CommonFields
 
COMPATIBLE_WITH_PARAMETER_NAME - Static variable in interface org.elasticsearch.xcontent.MediaType
 
compile(Set<String>) - Static method in class org.elasticsearch.xcontent.support.filtering.FilterPath
 
ConstructingObjectParser<Value,Context> - Class in org.elasticsearch.xcontent
Like ObjectParser but works with objects that have constructors whose arguments are mixed in with its other settings.
ConstructingObjectParser(String, boolean, BiFunction<Object[], Context, Value>) - Constructor for class org.elasticsearch.xcontent.ConstructingObjectParser
Build the parser.
ConstructingObjectParser(String, boolean, Function<Object[], Value>) - Constructor for class org.elasticsearch.xcontent.ConstructingObjectParser
Build the parser.
ConstructingObjectParser(String, Function<Object[], Value>) - Constructor for class org.elasticsearch.xcontent.ConstructingObjectParser
Build the parser.
constructorArg() - Static method in class org.elasticsearch.xcontent.ConstructingObjectParser
Pass the BiConsumer this returns the declare methods to declare a required constructor argument.
contentBuilder() - Static method in class org.elasticsearch.xcontent.cbor.CborXContent
 
contentBuilder() - Static method in class org.elasticsearch.xcontent.json.JsonXContent
Returns a XContentBuilder for building JSON XContent.
contentBuilder() - Static method in class org.elasticsearch.xcontent.smile.SmileXContent
Returns an XContentBuilder for building Smile XContent.
contentBuilder() - Static method in class org.elasticsearch.xcontent.yaml.YamlXContent
Returns an XContentBuilder for building YAML based content.
contentBuilder(XContentType) - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns a binary content builder for the provided content type.
contentBuilder(XContentType, OutputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Constructs a xcontent builder that will output the result into the provided output stream.
contentType() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
contentType() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
contentType() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
contentType() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
contentType() - Method in interface org.elasticsearch.xcontent.XContentParser
 
ContextParser<Context,T> - Interface in org.elasticsearch.xcontent
Reads an object from a parser using some context.
copyCurrentEvent(XContentParser) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
copyCurrentStructure(XContentParser) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
copyCurrentStructure(XContentParser) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
createGenerator(OutputStream) - Method in interface org.elasticsearch.xcontent.XContent
Creates a new generator using the provided output stream.
createGenerator(OutputStream, Set<String>, Set<String>) - Method in interface org.elasticsearch.xcontent.XContent
Creates a new generator using the provided output stream and some inclusive and/or exclusive filters.
createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in interface org.elasticsearch.xcontent.XContent
createParser(XContentParserConfiguration, byte[]) - Method in interface org.elasticsearch.xcontent.XContent
Creates a parser over the provided bytes.
createParser(XContentParserConfiguration, byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContent
Creates a parser over the provided bytes.
createParser(XContentParserConfiguration, InputStream) - Method in interface org.elasticsearch.xcontent.XContent
Creates a parser over the provided input stream.
createParser(XContentParserConfiguration, Reader) - Method in interface org.elasticsearch.xcontent.XContent
Creates a parser over the provided reader.
createParser(XContentParserConfiguration, String) - Method in interface org.elasticsearch.xcontent.XContent
Creates a parser over the provided string content.
currentName() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
currentName() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
currentName() - Method in interface org.elasticsearch.xcontent.XContentParser
 
currentToken() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
currentToken() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
currentToken() - Method in interface org.elasticsearch.xcontent.XContentParser
 

D

declareBoolean(BiConsumer<Value, Boolean>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareDouble(BiConsumer<Value, Double>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareDoubleArray(BiConsumer<Value, List<Double>>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareDoubleOrNull(BiConsumer<Value, Double>, double, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare a double field that parses explicit nulls in the json to a default value.
declareExclusiveFieldSet(String...) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares a set of fields of which at most one must appear for parsing to succeed E.g.
declareExclusiveFieldSet(String...) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareExclusiveFieldSet(String...) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareExclusiveFieldSet(String...) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareField(BiConsumer<Value, T>, CheckedFunction<XContentParser, T, IOException>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare some field.
declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareField(ObjectParser.Parser<Value, Context>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareFieldArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares a field that can contain an array of elements listed in the type ValueType enum
declareFloat(BiConsumer<Value, Float>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareFloatArray(BiConsumer<Value, List<Float>>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareFloatOrNull(BiConsumer<Value, Float>, float, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare a float field that parses explicit nulls in the json to a default value.
declareInt(BiConsumer<Value, Integer>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareIntArray(BiConsumer<Value, List<Integer>>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareIntOrNull(BiConsumer<Value, Integer>, int, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare a double field that parses explicit nulls in the json to a default value.
declareLong(BiConsumer<Value, Long>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareLongArray(BiConsumer<Value, List<Long>>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareLongOrNull(BiConsumer<Value, Long>, long, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares a single named object.
declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares named objects in the style of highlighting's field element.
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares named objects in the style of aggregations.
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareObject(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareObjectArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareObjectArrayOrNull(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
like AbstractObjectParser.declareObjectArray(BiConsumer, ContextParser, ParseField), but can also handle single null values, in which case the consumer isn't called
declareObjectOrDefault(BiConsumer<Value, T>, BiFunction<XContentParser, Context, T>, Supplier<T>, ParseField) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareObjectOrNull(BiConsumer<Value, T>, ContextParser<Context, T>, T, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare an object field that parses explicit nulls in the json to a default value.
declareRequiredFieldSet(String...) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declares a set of fields that are required for parsing to succeed.
declareRequiredFieldSet(String...) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
declareRequiredFieldSet(String...) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
declareRequiredFieldSet(String...) - Method in class org.elasticsearch.xcontent.ObjectParser
 
declareString(BiConsumer<Value, String>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareString(BiConsumer<Value, T>, Function<String, T>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
Declare a field of type T parsed from string and converted to T using provided function.
declareStringArray(BiConsumer<Value, List<String>>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
declareStringOrNull(BiConsumer<Value, String>, ParseField) - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
DEFAULT_NUMBER_COERCE_POLICY - Static variable in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
delegate() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
delegate() - Method in class org.elasticsearch.xcontent.FilterXContentParserWrapper
 
DelegatingMapParams(Map<String, String>, ToXContent.Params) - Constructor for class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
 
deprecationHandler() - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
 
DeprecationHandler - Interface in org.elasticsearch.xcontent
Callback for notifying the creator of the XContentParser that parsing hit a deprecated field.
detectContent(byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContent
Deprecated.
detectContent(CharSequence) - Method in interface org.elasticsearch.xcontent.XContent
Deprecated.
directFieldAsBase64(String, CheckedConsumer<OutputStream, IOException>) - Method in class org.elasticsearch.xcontent.XContentBuilder
Write the content that is written to the output stream by the writer as a string encoded in Base64 format.
doBooleanValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doBooleanValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
doDoubleValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doDoubleValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
doFloatValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doFloatValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
doIntValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doIntValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
doLongValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doLongValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
doShortValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doShortValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
DOUBLE - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
DOUBLE - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
DOUBLE_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
DOUBLE_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
doubleValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
doubleValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doubleValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
doubleValue(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
doubleValue(boolean) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
doubleValue(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 

E

EmbeddedImplClassLoader - Class in org.elasticsearch.xcontent.internal
A class loader that is responsible for loading implementation classes and resources embedded within an archive.
empty() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns an empty XContentParserConfiguration.
EMPTY - Static variable in class org.elasticsearch.xcontent.NamedXContentRegistry
The empty NamedXContentRegistry for use when you are sure that you aren't going to call XContentParser.namedObject(Class, String, Object).
EMPTY - Static variable in interface org.elasticsearch.xcontent.XContentParserConfiguration
Creates parsers that don't support XContentParser.namedObject(java.lang.Class<T>, java.lang.String, java.lang.Object), throw an exception when they see deprecated fields, that return the current version from XContentParser.getRestApiVersion(), and do no filtering.
EMPTY_PARAMS - Static variable in interface org.elasticsearch.xcontent.ToXContent
 
END_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
END_OBJECT - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
endArray() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
endObject() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
ensureNameNotNull(String) - Static method in class org.elasticsearch.xcontent.XContentBuilder
 
ensureNotNull(Object, String) - Static method in class org.elasticsearch.xcontent.XContentBuilder
 
Entry(Class<T>, ParseField, CheckedFunction<XContentParser, ? extends T, IOException>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
Creates a new entry which can be stored by the registry.
Entry(Class<T>, ParseField, CheckedFunction<XContentParser, ? extends T, IOException>, Function<RestApiVersion, Boolean>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
 
Entry(Class<T>, ParseField, ContextParser<Object, ? extends T>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
Creates a new entry which can be stored by the registry.
Entry(Class<T>, ParseField, ContextParser<Object, ? extends T>, Function<RestApiVersion, Boolean>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
 
enumSet(String, EnumSet<?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
equals(Object) - Method in record class org.elasticsearch.xcontent.XContentLocation
Indicates whether some other object is "equal to" this one.
errorMessage(String, String, Iterable<String>) - Method in interface org.elasticsearch.xcontent.ErrorOnUnknown
Build the error message to use when ObjectParser encounters an unknown field.
ErrorOnUnknown - Interface in org.elasticsearch.xcontent
Extension point to customize the error message for unknown fields.
eval(String, Object) - Static method in class org.elasticsearch.xcontent.ObjectPath
Return the value within a given object at the specified path, or null if the path does not exist

F

field(String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, boolean) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, byte) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, byte[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, byte[], int, int) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, float) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, int) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, long) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, short) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Boolean) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Byte) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Enum<?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Float) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Integer) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Iterable<?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Long) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Number) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Object) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Short) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, BigDecimal) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, BigInteger) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, Map<String, Object>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, ToXContent) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
field(String, ToXContent, ToXContent.Params) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
FIELD - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
 
FIELD_NAME - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
FIELDS - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
 
FilterPath - Class in org.elasticsearch.xcontent.support.filtering
 
FilterXContentParser - Class in org.elasticsearch.xcontent
Delegates every method to the parser returned by the FilterXContentParser.delegate() method.
FilterXContentParser() - Constructor for class org.elasticsearch.xcontent.FilterXContentParser
 
FilterXContentParserWrapper - Class in org.elasticsearch.xcontent
Wraps the provided XContentParser and delegates to it.
FilterXContentParserWrapper(XContentParser) - Constructor for class org.elasticsearch.xcontent.FilterXContentParserWrapper
 
findClass(String) - Method in class org.elasticsearch.xcontent.internal.EmbeddedImplClassLoader
 
findResource(String) - Method in class org.elasticsearch.xcontent.internal.EmbeddedImplClassLoader
 
findResources(String) - Method in class org.elasticsearch.xcontent.internal.EmbeddedImplClassLoader
 
FLOAT - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
FLOAT - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
FLOAT_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
FLOAT_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
floatValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
floatValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
floatValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
floatValue(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
floatValue(boolean) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
floatValue(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 
flush() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
FORMAT - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
 
forRestApiVersion(Function<RestApiVersion, Boolean>) - Method in class org.elasticsearch.xcontent.ParseField
Creates a new field with current name and deprecatedNames, but overrides forRestApiVersion
fromBuilder(String, Function<Context, Value>) - Static method in class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser.
fromFormat(String) - Static method in enum class org.elasticsearch.xcontent.XContentType
Accepts a format string, which is most of the time is equivalent to MediaType's subtype i.e.
fromList(Class<ElementValue>, BiConsumer<Value, ElementValue[]>) - Static method in class org.elasticsearch.xcontent.ObjectParser
Adapts an array (or varags) setter into a list setter.
fromMediaType(String) - Static method in enum class org.elasticsearch.xcontent.XContentType
Attempts to match the given media type with the known XContentType values.

G

generator() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
getAllNamesIncludedDeprecated() - Method in class org.elasticsearch.xcontent.ParseField
 
getAllReplacedWith() - Method in class org.elasticsearch.xcontent.ParseField
 
getCandidates() - Method in exception org.elasticsearch.xcontent.NamedObjectNotFoundException
The possible matches.
getCborXContent() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns the CBOR format provider.
getColumnNumber() - Method in exception org.elasticsearch.xcontent.XContentParseException
 
getContentBuilder() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider.FormatProvider
Returns a XContentBuilder for building the format specific content.
getDateTransformers() - Method in interface org.elasticsearch.xcontent.XContentBuilderExtension
Used for plugging a transformer for a date or time type object into a String (or other encodable object).
getDeprecatedNames() - Method in class org.elasticsearch.xcontent.ParseField
 
getDeprecationHandler() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
getDeprecationHandler() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
getDeprecationHandler() - Method in interface org.elasticsearch.xcontent.XContentParser
The callback to notify when parsing encounters a deprecated field.
getForRestApiVersion() - Method in class org.elasticsearch.xcontent.ParseField
 
getInstance() - Static method in class org.elasticsearch.xcontent.json.JsonStringEncoder
Factory method for getting an instance.
getJsonStringEncoder() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns a JsonStringEncoder.
getJsonXContent() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns the JSON format provider.
getLineNumber() - Method in exception org.elasticsearch.xcontent.XContentParseException
 
getLocation() - Method in exception org.elasticsearch.xcontent.XContentParseException
 
getMessage() - Method in exception org.elasticsearch.xcontent.XContentParseException
 
getName() - Method in class org.elasticsearch.xcontent.AbstractObjectParser
 
getName() - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
getName() - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser.Builder
 
getName() - Method in class org.elasticsearch.xcontent.ObjectParser
Get the name of the parser.
getOutputStream() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
getParameters() - Method in class org.elasticsearch.xcontent.ParsedMediaType
 
getPreferredName() - Method in class org.elasticsearch.xcontent.ParseField
 
getResponseContentTypeString() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
getRestApiVersion() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
getRestApiVersion() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
getRestApiVersion() - Method in class org.elasticsearch.xcontent.XContentBuilder
Returns a version used for serialising a response.
getRestApiVersion() - Method in interface org.elasticsearch.xcontent.XContentParser
 
getSmileXContent() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns the SMILE format provider.
getTokenLocation() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
getTokenLocation() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
getTokenLocation() - Method in interface org.elasticsearch.xcontent.XContentParser
Used for error reporting to highlight where syntax errors occur in content being parsed.
getXContentHumanReadableTransformers() - Method in interface org.elasticsearch.xcontent.XContentBuilderExtension
Used for plugging in a human readable version of a class's encoding.
getXContentRegistry() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
getXContentRegistry() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
getXContentRegistry() - Method in interface org.elasticsearch.xcontent.XContentParser
getXContentWriters() - Method in interface org.elasticsearch.xcontent.XContentBuilderExtension
Used for plugging in a generic writer for a class, for example, an example implementation:
getYamlXContent() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns the YAML format provider.
GUESS_HEADER_LENGTH - Static variable in class org.elasticsearch.xcontent.XContentFactory
 

H

hasDoubleWildcard() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
 
hashCode() - Method in record class org.elasticsearch.xcontent.XContentLocation
Returns a hash code value for this object.
hasTextCharacters() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
hasTextCharacters() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
hasTextCharacters() - Method in interface org.elasticsearch.xcontent.XContentParser
Method that can be used to determine whether calling of textCharacters() would be the most efficient way to access textual content for the event parser currently points to.
HeaderValue(String) - Constructor for class org.elasticsearch.xcontent.MediaType.HeaderValue
 
HeaderValue(String, Map<String, String>) - Constructor for class org.elasticsearch.xcontent.MediaType.HeaderValue
 
headerValues() - Method in interface org.elasticsearch.xcontent.MediaType
Returns a set of HeaderValues - allowed media type values on Accept or Content-Type headers Also defines media type parameters for validation.
humanReadable() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
humanReadable(boolean) - Method in class org.elasticsearch.xcontent.XContentBuilder
Set the "human readable" flag.
humanReadableField(String, String, Object) - Method in class org.elasticsearch.xcontent.XContentBuilder
 

I

IGNORE_DEPRECATIONS - Static variable in interface org.elasticsearch.xcontent.DeprecationHandler
Ignores all deprecations
IMPLEMENTATION - Static variable in interface org.elasticsearch.xcontent.ErrorOnUnknown
The implementation of this interface that was loaded from SPI.
index() - Method in enum class org.elasticsearch.xcontent.XContentType
 
INSTANCE - Static variable in class org.elasticsearch.xcontent.internal.ProviderLocator
Returns the provider instance.
InstantiatingObjectParser<Value,Context> - Class in org.elasticsearch.xcontent
Like ConstructingObjectParser but works with objects which have a constructor that matches declared fields.
InstantiatingObjectParser.Builder<Value,Context> - Class in org.elasticsearch.xcontent
 
INT - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
INT - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
INT_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
INT_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
intValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
intValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
intValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
intValue(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
intValue(boolean) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
intValue(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 
isBooleanValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
isBooleanValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
isBooleanValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
isClosed() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
isClosed() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
isClosed() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
isClosed() - Method in interface org.elasticsearch.xcontent.XContentGenerator
Returns true if this XContentGenerator has been closed.
isClosed() - Method in interface org.elasticsearch.xcontent.XContentParser
 
isClosed() - Method in class org.elasticsearch.xcontent.XContentSubParser
 
isFragment() - Method in interface org.elasticsearch.xcontent.ToXContent
 
isFragment() - Method in interface org.elasticsearch.xcontent.ToXContentFragment
 
isFragment() - Method in interface org.elasticsearch.xcontent.ToXContentObject
 
isPrettyPrint() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
isPrettyPrint() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
isValue() - Method in enum class org.elasticsearch.xcontent.XContentParser.Token
 

J

JSON - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A JSON based content type.
jsonBuilder() - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns a content builder using JSON format (XContentType.JSON.
jsonBuilder(OutputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Constructs a new json builder that will output the result into the provided output stream.
JsonStringEncoder - Class in org.elasticsearch.xcontent.json
Encoder of JSON String values (including JSON field names) into Strings or UTF-8 byte arrays.
JsonStringEncoder() - Constructor for class org.elasticsearch.xcontent.json.JsonStringEncoder
 
jsonXContent - Static variable in class org.elasticsearch.xcontent.json.JsonXContent
A JSON based XContent.
JsonXContent - Class in org.elasticsearch.xcontent.json
JSON based XContent.

L

latlon(double, double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
latlon(String, double, double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
lfAtEnd() - Method in class org.elasticsearch.xcontent.XContentBuilder
Indicate that the current XContentBuilder must write a line feed ("\n") at the end of the built object.
lineNumber() - Method in record class org.elasticsearch.xcontent.XContentLocation
Returns the value of the lineNumber record component.
list() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
list() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
list() - Method in interface org.elasticsearch.xcontent.XContentParser
 
listOrderedMap() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
listOrderedMap() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
listOrderedMap() - Method in interface org.elasticsearch.xcontent.XContentParser
 
logRemovedField(String, Supplier<XContentLocation>, String) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
Called when the provided field name matches the current field but the entire field has been marked as deprecated with no replacement Emits a compatible api warning instead of deprecation warning when isCompatibleDeprecation is true
logRemovedField(String, Supplier<XContentLocation>, String, boolean) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
 
logRenamedField(String, Supplier<XContentLocation>, String, String) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
Called when the provided field name matches a deprecated name for the field.
logRenamedField(String, Supplier<XContentLocation>, String, String, boolean) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
 
logReplacedField(String, Supplier<XContentLocation>, String, String) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
Called when the provided field name matches the current field but the entire field has been marked as deprecated and another field should be used
logReplacedField(String, Supplier<XContentLocation>, String, String, boolean) - Method in interface org.elasticsearch.xcontent.DeprecationHandler
 
LONG - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
LONG - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.NumberType
 
LONG_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
LONG_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
longValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
longValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
longValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
longValue(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
longValue(boolean) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
longValue(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 
lookupParser(Class<T>, String, XContentParser) - Method in class org.elasticsearch.xcontent.NamedXContentRegistry
 

M

map() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
map() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
map() - Method in interface org.elasticsearch.xcontent.XContentParser
 
map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in interface org.elasticsearch.xcontent.XContentParser
Returns an instance of Map holding parsed map.
map(Map<String, ?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
mapContents(Map<String, ?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
writes a map without the start object and end object headers
mapOrdered() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
mapOrdered() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
mapOrdered() - Method in interface org.elasticsearch.xcontent.XContentParser
 
MapParams(Map<String, String>) - Constructor for class org.elasticsearch.xcontent.ToXContent.MapParams
 
mapStrings() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
mapStrings() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
mapStrings() - Method in interface org.elasticsearch.xcontent.XContentParser
 
MapXContentParser - Class in org.elasticsearch.xcontent.support
Wraps a map generated by XContentParser's map() method into XContent Parser
MapXContentParser(NamedXContentRegistry, DeprecationHandler, Map<String, Object>, XContentType) - Constructor for class org.elasticsearch.xcontent.support.MapXContentParser
 
match(String, Supplier<XContentLocation>, String, DeprecationHandler) - Method in class org.elasticsearch.xcontent.ParseField
Does fieldName match this field?
match(String, DeprecationHandler) - Method in class org.elasticsearch.xcontent.ParseField
Does fieldName match this field?
matches(String, List<FilterPath>, boolean) - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
check if the name matches filter nodes if the name equals the filter node name, the node will add to nextFilters.
MEDIA_TYPE_REGISTRY - Static variable in enum class org.elasticsearch.xcontent.XContentType
 
mediaType() - Method in enum class org.elasticsearch.xcontent.XContentType
 
MediaType - Interface in org.elasticsearch.xcontent
Abstracts a Media Type and a query parameter format.
MediaType.HeaderValue - Class in org.elasticsearch.xcontent
A class to represent supported mediaType values i.e.
MediaTypeRegistry<T extends MediaType> - Class in org.elasticsearch.xcontent
A registry for quick media type lookup.
MediaTypeRegistry() - Constructor for class org.elasticsearch.xcontent.MediaTypeRegistry
 
mediaTypeWithoutParameters() - Method in class org.elasticsearch.xcontent.ParsedMediaType
The parsed mime type without the associated parameters.
mediaTypeWithoutParameters() - Method in enum class org.elasticsearch.xcontent.XContentType
 
MISSING - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
 

N

name - Variable in class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
A name for the entry which is unique within the NamedXContentRegistry.Entry.categoryClass.
namedObject(Class<T>, String, Object) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
namedObject(Class<T>, String, Object) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
namedObject(Class<T>, String, Object) - Method in interface org.elasticsearch.xcontent.XContentParser
Parse an object by name.
NamedObjectNotFoundException - Exception in org.elasticsearch.xcontent
Thrown when NamedXContentRegistry cannot locate a named object to parse for a particular name
NamedObjectNotFoundException(XContentLocation, String, Iterable<String>) - Constructor for exception org.elasticsearch.xcontent.NamedObjectNotFoundException
 
NamedXContentRegistry - Class in org.elasticsearch.xcontent
 
NamedXContentRegistry(List<NamedXContentRegistry.Entry>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry
 
NamedXContentRegistry.Entry - Class in org.elasticsearch.xcontent
An entry in the NamedXContentRegistry containing the name of the object and the parser that can parse it.
nextToken() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
nextToken() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
nextToken() - Method in interface org.elasticsearch.xcontent.XContentParser
 
nextToken() - Method in class org.elasticsearch.xcontent.XContentSubParser
 
nullField(String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
nullValue() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
numberType() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
numberType() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
numberType() - Method in interface org.elasticsearch.xcontent.XContentParser
 
numberValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
numberValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
numberValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 

O

object(String, CheckedConsumer<XContentBuilder, IOException>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
OBJECT - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_ARRAY_BOOLEAN_OR_STRING - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_ARRAY_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_ARRAY_OR_STRING - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_ARRAY_STRING_OR_NUMBER - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_OR_BOOLEAN - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_OR_LONG - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
OBJECT_OR_STRING - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
objectBytes() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
objectBytes() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
objectBytes() - Method in interface org.elasticsearch.xcontent.XContentParser
 
ObjectParser<Value,Context> - Class in org.elasticsearch.xcontent
A declarative, stateless parser that turns XContent into setter calls.
ObjectParser(String) - Constructor for class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser.
ObjectParser(String, boolean, Supplier<Value>) - Constructor for class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser.
ObjectParser(String, Class<C>, BiConsumer<Value, C>, Supplier<Value>) - Constructor for class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser that attempts to resolve unknown fields as namedObjects.
ObjectParser(String, Supplier<Value>) - Constructor for class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser.
ObjectParser(String, ObjectParser.UnknownFieldConsumer<Value>, Supplier<Value>) - Constructor for class org.elasticsearch.xcontent.ObjectParser
Creates a new ObjectParser that consumes unknown fields as generic Objects.
ObjectParser.NamedObjectParser<T,Context> - Interface in org.elasticsearch.xcontent
Functional interface for instantiating and parsing named objects.
ObjectParser.Parser<Value,Context> - Interface in org.elasticsearch.xcontent
 
ObjectParser.UnknownFieldConsumer<Value> - Interface in org.elasticsearch.xcontent
Defines how to consume a parsed undefined field
ObjectParser.ValueType - Enum Class in org.elasticsearch.xcontent
 
ObjectPath - Class in org.elasticsearch.xcontent
Helper class to navigate nested objects using dot notation
objectText() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
objectText() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
objectText() - Method in interface org.elasticsearch.xcontent.XContentParser
 
optionalConstructorArg() - Static method in class org.elasticsearch.xcontent.ConstructingObjectParser
Pass the BiConsumer this returns the declare methods to declare an optional constructor argument.
org.elasticsearch.xcontent - package org.elasticsearch.xcontent
 
org.elasticsearch.xcontent.cbor - package org.elasticsearch.xcontent.cbor
 
org.elasticsearch.xcontent.internal - package org.elasticsearch.xcontent.internal
 
org.elasticsearch.xcontent.json - package org.elasticsearch.xcontent.json
 
org.elasticsearch.xcontent.smile - package org.elasticsearch.xcontent.smile
 
org.elasticsearch.xcontent.spi - package org.elasticsearch.xcontent.spi
 
org.elasticsearch.xcontent.support - package org.elasticsearch.xcontent.support
 
org.elasticsearch.xcontent.support.filtering - package org.elasticsearch.xcontent.support.filtering
 
org.elasticsearch.xcontent.yaml - package org.elasticsearch.xcontent.yaml
 

P

param(String) - Method in class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
 
param(String) - Method in class org.elasticsearch.xcontent.ToXContent.MapParams
 
param(String) - Method in interface org.elasticsearch.xcontent.ToXContent.Params
 
param(String, String) - Method in class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
 
param(String, String) - Method in class org.elasticsearch.xcontent.ToXContent.MapParams
 
param(String, String) - Method in interface org.elasticsearch.xcontent.ToXContent.Params
 
paramAsBoolean(String, boolean) - Method in class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
 
paramAsBoolean(String, boolean) - Method in class org.elasticsearch.xcontent.ToXContent.MapParams
 
paramAsBoolean(String, boolean) - Method in interface org.elasticsearch.xcontent.ToXContent.Params
 
paramAsBoolean(String, Boolean) - Method in class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
 
paramAsBoolean(String, Boolean) - Method in class org.elasticsearch.xcontent.ToXContent.MapParams
 
paramAsBoolean(String, Boolean) - Method in interface org.elasticsearch.xcontent.ToXContent.Params
 
parametersFor(String) - Method in class org.elasticsearch.xcontent.MediaTypeRegistry
 
parse(XContentParser, Context) - Method in class org.elasticsearch.xcontent.ConstructingObjectParser
 
parse(XContentParser, Context) - Method in interface org.elasticsearch.xcontent.ContextParser
 
parse(XContentParser, Context) - Method in class org.elasticsearch.xcontent.InstantiatingObjectParser
 
parse(XContentParser, Context) - Method in class org.elasticsearch.xcontent.ObjectParser
Parses a Value from the given XContentParser
parse(XContentParser, Context, String) - Method in interface org.elasticsearch.xcontent.ObjectParser.NamedObjectParser
 
parse(XContentParser, Value, Context) - Method in class org.elasticsearch.xcontent.ObjectParser
Parses a Value from the given XContentParser
parse(XContentParser, Value, Context) - Method in interface org.elasticsearch.xcontent.ObjectParser.Parser
 
ParsedMediaType - Class in org.elasticsearch.xcontent
A raw result of parsing media types from Accept or Content-Type headers.
ParseField - Class in org.elasticsearch.xcontent
Holds a field that can be found in a request while parsing and its different variants, which may be deprecated.
ParseField(String, String...) - Constructor for class org.elasticsearch.xcontent.ParseField
Creates a field available for lookup for both current and previous REST API versions
ParseField.CommonFields - Class in org.elasticsearch.xcontent
 
parseMediaType(String) - Static method in class org.elasticsearch.xcontent.ParsedMediaType
Parses a header value into it's parts.
parseMediaType(XContentType, Map<String, String>) - Static method in class org.elasticsearch.xcontent.ParsedMediaType
 
parseNamedObject(Class<T>, String, XContentParser, C) - Method in class org.elasticsearch.xcontent.NamedXContentRegistry
Parse a named object, throwing an exception if the parser isn't found.
ParserConstructor - Annotation Interface in org.elasticsearch.xcontent
Marks the constructor that should be used by InstantiatingObjectParser if multiple constructors with the same number of arguments exist.
parseVersion(String) - Static method in enum class org.elasticsearch.xcontent.XContentType
 
percentageField(String, String, double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
prettyPrint() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
priority() - Method in interface org.elasticsearch.xcontent.ErrorOnUnknown
Priority that this error message handler should be used.
provider() - Static method in interface org.elasticsearch.xcontent.spi.XContentProvider
Returns the located provider instance.
ProviderLocator - Class in org.elasticsearch.xcontent.internal
A provider locator for finding the XContentProvider.
ProviderLocator() - Constructor for class org.elasticsearch.xcontent.internal.ProviderLocator
 

Q

queryParameter() - Method in interface org.elasticsearch.xcontent.MediaType
Returns a corresponding format path parameter for a MediaType.
queryParamToMediaType(String) - Method in class org.elasticsearch.xcontent.MediaTypeRegistry
 
quoteAsString(CharSequence) - Method in class org.elasticsearch.xcontent.json.JsonStringEncoder
Quotes text contents using JSON standard quoting, and return results as a character array.
quoteAsString(CharSequence, StringBuilder) - Method in class org.elasticsearch.xcontent.json.JsonStringEncoder
Quotes text contents using JSON standard quoting, appending the results to the given StringBuilder.
quoteAsString(String) - Method in class org.elasticsearch.xcontent.json.JsonStringEncoder
Quotes text contents using JSON standard quoting, and return results as a character array.
quoteAsUTF8(String) - Method in class org.elasticsearch.xcontent.json.JsonStringEncoder
Quotes a given JSON String value using standard quoting, encoding as UTF-8, and return results as a byte array.

R

rawField(String, InputStream) - Method in class org.elasticsearch.xcontent.XContentBuilder
Deprecated.
use XContentBuilder.rawField(String, InputStream, XContentType) to avoid content type auto-detection
rawField(String, InputStream, XContentType) - Method in class org.elasticsearch.xcontent.XContentBuilder
Writes a raw field with the value taken from the bytes in the stream
rawValue(InputStream, XContentType) - Method in class org.elasticsearch.xcontent.XContentBuilder
Writes a value with the source coming directly from the bytes in the stream
rawValue(Object) - Method in interface org.elasticsearch.xcontent.XContentBuilder.HumanReadableTransformer
 
readValue(XContentParser, Supplier<Map<String, Object>>) - Static method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
readValue(XContentParser, XContentParser.Token) - Static method in class org.elasticsearch.xcontent.XContentUtils
Convert a XContentParser.Token to a value
register(T[]) - Method in class org.elasticsearch.xcontent.MediaTypeRegistry
 
registry() - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
 
responseContentTypeHeader() - Method in class org.elasticsearch.xcontent.ParsedMediaType
 
responseContentTypeHeader(Map<String, String>) - Method in class org.elasticsearch.xcontent.ParsedMediaType
 
restApiCompatibility - Variable in class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
 
restApiVersion() - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
 

S

shortValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
shortValue() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
shortValue() - Method in interface org.elasticsearch.xcontent.XContentParser
 
shortValue(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
shortValue(boolean) - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
shortValue(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
 
skipChildren() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
skipChildren() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
skipChildren() - Method in interface org.elasticsearch.xcontent.XContentParser
 
skipChildren() - Method in class org.elasticsearch.xcontent.XContentSubParser
 
SMILE - Enum constant in enum class org.elasticsearch.xcontent.XContentType
The jackson based smile binary format.
smileBuilder() - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns a content builder using SMILE format (XContentType.SMILE.
smileBuilder(OutputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Constructs a new json builder that will output the result into the provided output stream.
smileXContent - Static variable in class org.elasticsearch.xcontent.smile.SmileXContent
A Smile based XContent.
SmileXContent - Class in org.elasticsearch.xcontent.smile
Smile based XContent.
START_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
START_OBJECT - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
startArray() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
startArray(String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
startObject() - Method in class org.elasticsearch.xcontent.XContentBuilder
 
startObject(String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
streamSeparator() - Method in interface org.elasticsearch.xcontent.XContent
 
STRING - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
STRING_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
STRING_OR_NULL - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
stringListField(String, Collection<String>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
stringStringMap(String, Map<String, String>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
supportedTokens() - Method in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 

T

text() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
text() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
text() - Method in interface org.elasticsearch.xcontent.XContentParser
 
textCharacters() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
textCharacters() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
textCharacters() - Method in interface org.elasticsearch.xcontent.XContentParser
 
textLength() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
textLength() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
textLength() - Method in interface org.elasticsearch.xcontent.XContentParser
 
textOffset() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
textOffset() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
 
textOffset() - Method in interface org.elasticsearch.xcontent.XContentParser
 
textOrNull() - Method in class org.elasticsearch.xcontent.FilterXContentParser
 
textOrNull() - Method in class org.elasticsearch.xcontent.support.AbstractXContentParser
 
textOrNull() - Method in interface org.elasticsearch.xcontent.XContentParser
 
THROW_UNSUPPORTED_OPERATION - Static variable in interface org.elasticsearch.xcontent.DeprecationHandler
Throws an UnsupportedOperationException when parsing hits a deprecated field.
TIME_ZONE - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
 
timeField(String, Object) - Method in class org.elasticsearch.xcontent.XContentBuilder
Write a time-based field and value, if the passed timeValue is null a null value is written, otherwise a date transformers lookup is performed.
timeField(String, String, long) - Method in class org.elasticsearch.xcontent.XContentBuilder
If the humanReadable flag is set, writes both a formatted and unformatted version of the time value using the date transformer for the Long class.
timeValue(Object) - Method in class org.elasticsearch.xcontent.XContentBuilder
Write a time-based value, if the value is null a null value is written, otherwise a date transformers lookup is performed.
toMediaType(MediaTypeRegistry<T>) - Method in class org.elasticsearch.xcontent.ParsedMediaType
Resolves this instance to a MediaType instance defined in given MediaTypeRegistry.
toParsedMediaType() - Method in enum class org.elasticsearch.xcontent.XContentType
 
toString() - Method in class org.elasticsearch.xcontent.ObjectParser
 
toString() - Method in class org.elasticsearch.xcontent.ParsedMediaType
 
toString() - Method in class org.elasticsearch.xcontent.ParseField
 
toString() - Method in record class org.elasticsearch.xcontent.XContentLocation
Returns a string representation of this record class.
toXContent(XContentBuilder, ToXContent.Params) - Method in interface org.elasticsearch.xcontent.ToXContent
 
ToXContent - Interface in org.elasticsearch.xcontent
An interface allowing to transfer an object to "XContent" using an XContentBuilder.
ToXContent.DelegatingMapParams - Class in org.elasticsearch.xcontent
 
ToXContent.MapParams - Class in org.elasticsearch.xcontent
 
ToXContent.Params - Interface in org.elasticsearch.xcontent
 
ToXContentFragment - Interface in org.elasticsearch.xcontent
An interface allowing to transfer an object to "XContent" using an XContentBuilder.
ToXContentObject - Interface in org.elasticsearch.xcontent
An interface allowing to transfer an object to "XContent" using an XContentBuilder.
type() - Method in interface org.elasticsearch.xcontent.XContent
The type this content handles and produces.
typeWithSubtypeToMediaType(String) - Method in class org.elasticsearch.xcontent.MediaTypeRegistry
 

U

UNKNOWN - Static variable in record class org.elasticsearch.xcontent.XContentLocation
 
usePrettyPrint() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
usePrintLineFeedAtEnd() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
utf8Value(byte[], int, int) - Method in class org.elasticsearch.xcontent.XContentBuilder
Writes the binary content of the given byte array as UTF-8 bytes.

V

value(boolean) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(byte) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(byte[]) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(byte[], int, int) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(float) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(int) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(long) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(short) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Boolean) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Byte) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Double) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Float) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Integer) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Long) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Object) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Short) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(String) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(BigDecimal) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(BigInteger) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
value(Path) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
VALUE - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
VALUE_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
VALUE_BOOLEAN - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
VALUE_EMBEDDED_OBJECT - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
VALUE_NULL - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
VALUE_NUMBER - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
VALUE_OBJECT_ARRAY - Enum constant in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
 
VALUE_STRING - Enum constant in enum class org.elasticsearch.xcontent.XContentParser.Token
 
valueOf(String) - Static method in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.elasticsearch.xcontent.XContentParser.NumberType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.elasticsearch.xcontent.XContentParser.Token
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.elasticsearch.xcontent.XContentType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.elasticsearch.xcontent.ObjectParser.ValueType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.elasticsearch.xcontent.XContentParser.NumberType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.elasticsearch.xcontent.XContentParser.Token
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.elasticsearch.xcontent.XContentType
Returns an array containing the constants of this enum class, in the order they are declared.
VENDOR_APPLICATION_PREFIX - Static variable in enum class org.elasticsearch.xcontent.XContentType
 
VERSION_PATTERN - Static variable in interface org.elasticsearch.xcontent.MediaType
 
VND_CBOR - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A Versioned CBOR based content type.
VND_JSON - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A versioned JSON based content type.
VND_SMILE - Enum constant in enum class org.elasticsearch.xcontent.XContentType
Versioned jackson based smile binary format.
VND_YAML - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A Versioned YAML based content type.

W

withAllDeprecated() - Method in class org.elasticsearch.xcontent.ParseField
Return a new ParseField where all field names are deprecated with no replacement
withAllDeprecated(String) - Method in class org.elasticsearch.xcontent.ParseField
Return a new ParseField where all field names are deprecated and replaced with allReplacedWith.
withDeprecation(String...) - Method in class org.elasticsearch.xcontent.ParseField
 
withDeprecationHandler(DeprecationHandler) - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
Replace the behavior of XContentParser when it encounters a deprecated field.
withFiltering(Set<String>, Set<String>, boolean) - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
Replace the configured filtering.
withRegistry(NamedXContentRegistry) - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
withRestApiVersion(RestApiVersion) - Method in interface org.elasticsearch.xcontent.XContentParserConfiguration
Replace the claimed RestApiVersion.
write(XContentBuilder, Object) - Method in interface org.elasticsearch.xcontent.XContentBuilder.Writer
 
writeBinary(byte[]) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeBinary(byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeBinaryField(String, byte[]) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeBoolean(boolean) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeBooleanField(String, boolean) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeDirectField(String, CheckedConsumer<OutputStream, IOException>) - Method in interface org.elasticsearch.xcontent.XContentGenerator
Write a field whose value is written directly to the output stream.
writeEndArray() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeEndObject() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeFieldName(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNull() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNullField(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(double) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(float) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(long) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(short) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(BigDecimal) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumber(BigInteger) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, double) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, float) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, long) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, BigDecimal) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeNumberField(String, BigInteger) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeRawField(String, InputStream) - Method in interface org.elasticsearch.xcontent.XContentGenerator
Deprecated.
writeRawField(String, InputStream, XContentType) - Method in interface org.elasticsearch.xcontent.XContentGenerator
Writes a raw field with the value taken from the bytes in the stream
writeRawValue(InputStream, XContentType) - Method in interface org.elasticsearch.xcontent.XContentGenerator
Writes a raw value taken from the bytes in the stream
writeStartArray() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeStartObject() - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeString(char[], int, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeString(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeStringField(String, String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 
writeUTF8String(byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
 

X

xContent() - Method in enum class org.elasticsearch.xcontent.XContentType
 
xContent(byte[]) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
xContent(byte[], int, int) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
guessing the content type should not be needed ideally. We should rather know the content type upfront or read it from headers. Till we fixed the REST layer to read the Content-Type header, that should be the only place where guessing is needed.
xContent(CharSequence) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
xContent(XContentType) - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns the XContent for the provided content type.
XContent - Interface in org.elasticsearch.xcontent
A generic abstraction on top of handling content, inspired by JSON and pull parsing.
XContent() - Method in interface org.elasticsearch.xcontent.spi.XContentProvider.FormatProvider
Returns an instance of the format specific content.
XContentBuilder - Class in org.elasticsearch.xcontent
A utility to build XContent (ie json).
XContentBuilder(XContent, OutputStream) - Constructor for class org.elasticsearch.xcontent.XContentBuilder
Constructs a new builder using the provided XContent and an OutputStream.
XContentBuilder(XContent, OutputStream, Set<String>, Set<String>, ParsedMediaType) - Constructor for class org.elasticsearch.xcontent.XContentBuilder
Creates a new builder using the provided XContent, output stream and some inclusive and/or exclusive filters.
XContentBuilder(XContent, OutputStream, Set<String>, Set<String>, ParsedMediaType, RestApiVersion) - Constructor for class org.elasticsearch.xcontent.XContentBuilder
Creates a new builder using the provided XContent, output stream and some inclusive and/or exclusive filters.
XContentBuilder(XContentType, OutputStream, Set<String>) - Constructor for class org.elasticsearch.xcontent.XContentBuilder
Constructs a new builder using the provided XContent, an OutputStream and some filters.
XContentBuilder.HumanReadableTransformer - Interface in org.elasticsearch.xcontent
Interface for transforming complex objects into their "raw" equivalents for human-readable fields
XContentBuilder.Writer - Interface in org.elasticsearch.xcontent
 
XContentBuilderExtension - Interface in org.elasticsearch.xcontent
This interface provides a way for non-JDK classes to plug in a way to serialize to xcontent.
XContentEOFException - Exception in org.elasticsearch.xcontent
 
XContentEOFException(IOException) - Constructor for exception org.elasticsearch.xcontent.XContentEOFException
 
XContentFactory - Class in org.elasticsearch.xcontent
A one stop to use XContent and XContentBuilder.
XContentGenerationException - Exception in org.elasticsearch.xcontent
 
XContentGenerationException(IOException) - Constructor for exception org.elasticsearch.xcontent.XContentGenerationException
 
XContentGenerator - Interface in org.elasticsearch.xcontent
 
xContentList(String, Collection<? extends ToXContent>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
xContentList(String, ToXContent...) - Method in class org.elasticsearch.xcontent.XContentBuilder
 
XContentLocation - Record Class in org.elasticsearch.xcontent
Simple data structure representing the line and column number of a position in some XContent e.g.
XContentLocation(int, int) - Constructor for record class org.elasticsearch.xcontent.XContentLocation
Creates an instance of a XContentLocation record class.
XContentParseException - Exception in org.elasticsearch.xcontent
Thrown when one of the XContent parsers cannot parse something.
XContentParseException(String) - Constructor for exception org.elasticsearch.xcontent.XContentParseException
 
XContentParseException(XContentLocation, String) - Constructor for exception org.elasticsearch.xcontent.XContentParseException
 
XContentParseException(XContentLocation, String, Exception) - Constructor for exception org.elasticsearch.xcontent.XContentParseException
 
XContentParser - Interface in org.elasticsearch.xcontent
Interface for pull - parsing XContent see XContentType for supported types.
XContentParser.NumberType - Enum Class in org.elasticsearch.xcontent
 
XContentParser.Token - Enum Class in org.elasticsearch.xcontent
 
XContentParserConfiguration - Interface in org.elasticsearch.xcontent
Configuration for XContentParser.
XContentProvider - Interface in org.elasticsearch.xcontent.spi
A provider for the XContent API.
XContentProvider.FormatProvider - Interface in org.elasticsearch.xcontent.spi
A provider of a specific content format, e.g.
XContentSubParser - Class in org.elasticsearch.xcontent
Wrapper for a XContentParser that makes a single object/array look like a complete document.
XContentSubParser(XContentParser) - Constructor for class org.elasticsearch.xcontent.XContentSubParser
 
xContentType(byte[]) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
xContentType(byte[], int, int) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
xContentType(InputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
xContentType(CharSequence) - Static method in class org.elasticsearch.xcontent.XContentFactory
Deprecated.
the content type should not be guessed except for few cases where we effectively don't know the content type. The REST layer should move to reading the Content-Type header instead. There are other places where auto-detection may be needed. This method is deprecated to prevent usages of it from spreading further without specific reasons.
XContentType - Enum Class in org.elasticsearch.xcontent
The content type of XContent.
XContentUtils - Class in org.elasticsearch.xcontent
 
xContentValuesMap(String, Map<String, ? extends ToXContent>) - Method in class org.elasticsearch.xcontent.XContentBuilder
 

Y

YAML - Enum constant in enum class org.elasticsearch.xcontent.XContentType
A YAML based content type.
yamlBuilder() - Static method in class org.elasticsearch.xcontent.XContentFactory
Returns a content builder using YAML format (XContentType.YAML.
yamlBuilder(OutputStream) - Static method in class org.elasticsearch.xcontent.XContentFactory
Constructs a new yaml builder that will output the result into the provided output stream.
yamlXContent - Static variable in class org.elasticsearch.xcontent.yaml.YamlXContent
 
YamlXContent - Class in org.elasticsearch.xcontent.yaml
YAML based content.
A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form