Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractObjectParser<Value,
Context> - Class in org.elasticsearch.xcontent -
Superclass for
ObjectParser
andConstructingObjectParser
. - 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
- accept(Value, String, Object) - Method in interface org.elasticsearch.xcontent.ObjectParser.UnknownFieldConsumer
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.cbor.CborXContentParser
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.FilterXContentParser
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.smile.SmileXContentParser
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- allowDuplicateKeys(boolean) - Method in interface org.elasticsearch.xcontent.XContentParser
- allowDuplicateKeys(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.json.JsonXContentParser
- 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 theirString
variants of the separated value methods. - binaryValue() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- booleanValue() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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 givenXContent
content. - builder(XContent, Set<String>, Set<String>) - Static method in class org.elasticsearch.xcontent.XContentBuilder
-
Create a new
XContentBuilder
using the givenXContent
content 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
- 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
-
A CBOR based content implementation using Jackson.
- CborXContentGenerator - Class in org.elasticsearch.xcontent.cbor
- CborXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.xcontent.cbor.CborXContentGenerator
- CborXContentParser - Class in org.elasticsearch.xcontent.cbor
- CborXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.xcontent.cbor.CborXContentParser
- CborXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser, FilterPath[], FilterPath[]) - Constructor for class org.elasticsearch.xcontent.cbor.CborXContentParser
- charBuffer() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- charBuffer() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- charBuffer() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- charBuffer() - Method in interface org.elasticsearch.xcontent.XContentParser
-
Returns a
CharBuffer
holding UTF-8 bytes. - charBuffer() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- charBufferOrNull() - Method in class org.elasticsearch.xcontent.XContentSubParser
- close() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- close() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- close() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- 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 - Variable in class org.elasticsearch.xcontent.XContentLocation
- CommonFields() - Constructor for class org.elasticsearch.xcontent.ParseField.CommonFields
- 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
- contentBuilder() - Static method in class org.elasticsearch.xcontent.smile.SmileXContent
- contentBuilder() - Static method in class org.elasticsearch.xcontent.yaml.YamlXContent
- 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.cbor.CborXContentGenerator
- contentType() - Method in class org.elasticsearch.xcontent.cbor.CborXContentParser
- contentType() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- contentType() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- contentType() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- contentType() - Method in class org.elasticsearch.xcontent.smile.SmileXContentGenerator
- contentType() - Method in class org.elasticsearch.xcontent.smile.SmileXContentParser
- 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
- contentType() - Method in class org.elasticsearch.xcontent.XContentSubParser
- contentType() - Method in class org.elasticsearch.xcontent.yaml.YamlXContentGenerator
- contentType() - Method in class org.elasticsearch.xcontent.yaml.YamlXContentParser
- 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.json.JsonXContentGenerator
- copyCurrentStructure(XContentParser) - Method in class org.elasticsearch.xcontent.XContentBuilder
- copyCurrentStructure(XContentParser) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- copyRawValue(InputStream, XContent) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- 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 class org.elasticsearch.xcontent.cbor.CborXContent
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- 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.
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided input stream.
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream, FilterPath[], FilterPath[]) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream, FilterPath[], FilterPath[]) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream, FilterPath[], FilterPath[]) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream, FilterPath[], FilterPath[]) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided input stream.
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream, FilterPath[], FilterPath[]) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided reader.
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in interface org.elasticsearch.xcontent.XContent
-
Creates a parser over the provided string content.
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- currentName() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- currentName() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- currentName() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- currentName() - Method in interface org.elasticsearch.xcontent.XContentParser
- currentName() - Method in class org.elasticsearch.xcontent.XContentSubParser
- currentToken() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- currentToken() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- currentToken() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- currentToken() - Method in interface org.elasticsearch.xcontent.XContentParser
- currentToken() - Method in class org.elasticsearch.xcontent.XContentSubParser
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
null
s 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
null
s 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
null
s 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
null
s 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 toT
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
- DelegatingMapParams(Map<String, String>, ToXContent.Params) - Constructor for class org.elasticsearch.xcontent.ToXContent.DelegatingMapParams
- DeprecationHandler - Interface in org.elasticsearch.xcontent
-
Callback for notifying the creator of the
XContentParser
that parsing hit a deprecated field. - 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- 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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- doubleValue(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
E
- EMPTY - Static variable in class org.elasticsearch.xcontent.NamedXContentRegistry
-
The empty
NamedXContentRegistry
for use when you are sure that you aren't going to callXContentParser.namedObject(Class, String, Object)
. - EMPTY - Static variable in class org.elasticsearch.xcontent.support.filtering.FilterPath
- 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, ContextParser<Object, ? extends T>) - Constructor for class org.elasticsearch.xcontent.NamedXContentRegistry.Entry
-
Creates a new entry which can be stored by the registry.
- enumSet(String, EnumSet<?>) - Method in class org.elasticsearch.xcontent.XContentBuilder
- 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, 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
- FilterPath(String, String, FilterPath) - Constructor for class org.elasticsearch.xcontent.support.filtering.FilterPath
- FilterPathBasedFilter - Class in org.elasticsearch.xcontent.support.filtering
- FilterPathBasedFilter(Set<String>, boolean) - Constructor for class org.elasticsearch.xcontent.support.filtering.FilterPathBasedFilter
- FilterPathBasedFilter(FilterPath[], boolean) - Constructor for class org.elasticsearch.xcontent.support.filtering.FilterPathBasedFilter
- FilterXContentParser - Class in org.elasticsearch.xcontent
-
Filters an existing XContentParser by using a delegate
- FilterXContentParser(XContentParser) - Constructor for class org.elasticsearch.xcontent.FilterXContentParser
- findImplementation() - Static method in interface org.elasticsearch.xcontent.ErrorOnUnknown
- 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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- floatValue(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
- flush() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- flush() - Method in class org.elasticsearch.xcontent.XContentBuilder
- FORMAT - Static variable in class org.elasticsearch.xcontent.ParseField.CommonFields
- fromBuilder(String, Function<Context, Value>) - Static method in class org.elasticsearch.xcontent.ObjectParser
-
Creates a new ObjectParser.
- 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. - fromMediaTypeOrFormat(String) - Static method in enum class org.elasticsearch.xcontent.XContentType
-
Accepts either a format string, which is equivalent to
XContentType.shortName()
or a media type that optionally has parameters and attempts to match the value to anXContentType
.
G
- generator - Variable in class org.elasticsearch.xcontent.json.JsonXContentGenerator
-
Generator used to write content
- 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.
- getColumnNumber() - Method in exception org.elasticsearch.xcontent.XContentParseException
- 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.
- getDeprecationHandler() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.
- getNext() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- getOutputStream() - Method in class org.elasticsearch.xcontent.XContentBuilder
- getPreferredName() - Method in class org.elasticsearch.xcontent.ParseField
- getSegment() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- getTokenLocation() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- getTokenLocation() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- 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.
- getTokenLocation() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
-
The registry used to resolve
XContentParser.namedObject(Class, String, Object)
. - getXContentRegistry() - Method in class org.elasticsearch.xcontent.XContentSubParser
- getXContentWriters() - Method in interface org.elasticsearch.xcontent.XContentBuilderExtension
-
Used for plugging in a generic writer for a class, for example, an example implementation:
- GUESS_HEADER_LENGTH - Static variable in class org.elasticsearch.xcontent.XContentFactory
H
- hasDoubleWildcard() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- hasTextCharacters() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- hasTextCharacters() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- 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.
- hasTextCharacters() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.
- in - Variable in class org.elasticsearch.xcontent.FilterXContentParser
- includeProperty(String) - Method in class org.elasticsearch.xcontent.support.filtering.FilterPathBasedFilter
- index() - Method in enum class org.elasticsearch.xcontent.XContentType
- 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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- intValue(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- isBooleanValue() - Method in class org.elasticsearch.xcontent.XContentSubParser
- isClosed() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- isClosed() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- isClosed() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- 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
- isDoubleWildcard() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- 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.json.JsonXContentGenerator
- isPrettyPrint() - Method in class org.elasticsearch.xcontent.XContentBuilder
- isPrettyPrint() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- isSimpleWildcard() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- 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.
- jsonXContent - Static variable in class org.elasticsearch.xcontent.json.JsonXContent
- JsonXContent - Class in org.elasticsearch.xcontent.json
-
A JSON based content implementation using Jackson.
- JsonXContentGenerator - Class in org.elasticsearch.xcontent.json
- JsonXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.xcontent.json.JsonXContentGenerator
- JsonXContentParser - Class in org.elasticsearch.xcontent.json
- JsonXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.xcontent.json.JsonXContentParser
- JsonXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser, FilterPath[], FilterPath[]) - Constructor for class org.elasticsearch.xcontent.json.JsonXContentParser
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 - Variable in class org.elasticsearch.xcontent.XContentLocation
- 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
- list() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- listOrderedMap() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- longValue(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- mapOrdered() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- mapStrings() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- matchProperty(String) - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- mediaType() - Method in enum class org.elasticsearch.xcontent.XContentType
- 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.
- namedObject(Class<T>, String, Object) - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.json.JsonXContentParser
- 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.json.JsonXContentParser
- numberType() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- numberType() - Method in interface org.elasticsearch.xcontent.XContentParser
- numberType() - Method in class org.elasticsearch.xcontent.XContentSubParser
- numberValue() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- numberValue() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- numberValue() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- numberValue() - Method in interface org.elasticsearch.xcontent.XContentParser
- numberValue() - Method in class org.elasticsearch.xcontent.XContentSubParser
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.json.JsonXContentParser
- objectBytes() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- objectBytes() - Method in interface org.elasticsearch.xcontent.XContentParser
- objectBytes() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.json.JsonXContentParser
- objectText() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- objectText() - Method in interface org.elasticsearch.xcontent.XContentParser
- objectText() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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.json - package org.elasticsearch.xcontent.json
- org.elasticsearch.xcontent.smile - package org.elasticsearch.xcontent.smile
- 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
- 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
- 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
- ParseField.CommonFields - Class in org.elasticsearch.xcontent
- 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.
- 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.
R
- rawField(String, InputStream) - Method in class org.elasticsearch.xcontent.XContentBuilder
-
Deprecated.
- 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
S
- shortName() - Method in enum class org.elasticsearch.xcontent.XContentType
- 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() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- shortValue(boolean) - Method in class org.elasticsearch.xcontent.XContentSubParser
- skipChildren() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- skipChildren() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- 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
- SmileXContent - Class in org.elasticsearch.xcontent.smile
-
A Smile based content implementation using Jackson.
- SmileXContentGenerator - Class in org.elasticsearch.xcontent.smile
- SmileXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.xcontent.smile.SmileXContentGenerator
- SmileXContentParser - Class in org.elasticsearch.xcontent.smile
- SmileXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.xcontent.smile.SmileXContentParser
- SmileXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser, FilterPath[], FilterPath[]) - Constructor for class org.elasticsearch.xcontent.smile.SmileXContentParser
- 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 class org.elasticsearch.xcontent.cbor.CborXContent
- streamSeparator() - Method in class org.elasticsearch.xcontent.json.JsonXContent
- streamSeparator() - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- streamSeparator() - Method in interface org.elasticsearch.xcontent.XContent
- streamSeparator() - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
- 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
- supportsRawWrites() - Method in class org.elasticsearch.xcontent.cbor.CborXContentGenerator
- supportsRawWrites() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
-
Whether this generator supports writing raw data directly
- supportsRawWrites() - Method in class org.elasticsearch.xcontent.smile.SmileXContentGenerator
- supportsRawWrites() - Method in class org.elasticsearch.xcontent.yaml.YamlXContentGenerator
T
- text() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- text() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- text() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- text() - Method in interface org.elasticsearch.xcontent.XContentParser
- text() - Method in class org.elasticsearch.xcontent.XContentSubParser
- textCharacters() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- textCharacters() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- textCharacters() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- textCharacters() - Method in interface org.elasticsearch.xcontent.XContentParser
- textCharacters() - Method in class org.elasticsearch.xcontent.XContentSubParser
- textLength() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- textLength() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- textLength() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- textLength() - Method in interface org.elasticsearch.xcontent.XContentParser
- textLength() - Method in class org.elasticsearch.xcontent.XContentSubParser
- textOffset() - Method in class org.elasticsearch.xcontent.FilterXContentParser
- textOffset() - Method in class org.elasticsearch.xcontent.json.JsonXContentParser
- textOffset() - Method in class org.elasticsearch.xcontent.support.MapXContentParser
- textOffset() - Method in interface org.elasticsearch.xcontent.XContentParser
- textOffset() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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
- textOrNull() - Method in class org.elasticsearch.xcontent.XContentSubParser
- 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 theLong
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.
- toString() - Method in class org.elasticsearch.xcontent.ObjectParser
- toString() - Method in class org.elasticsearch.xcontent.ParseField
- toString() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPath
- toString() - Method in class org.elasticsearch.xcontent.XContentLocation
- 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 class org.elasticsearch.xcontent.cbor.CborXContent
- type() - Method in class org.elasticsearch.xcontent.json.JsonXContent
- type() - Method in class org.elasticsearch.xcontent.smile.SmileXContent
- type() - Method in interface org.elasticsearch.xcontent.XContent
-
The type this content handles and produces.
- type() - Method in class org.elasticsearch.xcontent.yaml.YamlXContent
U
- UNKNOWN - Static variable in class org.elasticsearch.xcontent.XContentLocation
- usedDeprecatedField(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
- usedDeprecatedField(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
- usedDeprecatedName(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.
- usePrettyPrint() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- usePrettyPrint() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.xcontent.cbor.CborXContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.xcontent.smile.SmileXContentGenerator
- usePrintLineFeedAtEnd() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.xcontent.yaml.YamlXContentGenerator
- 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.
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
- wrapObject(Object) - Static method in class org.elasticsearch.xcontent.support.MapXContentParser
- write(XContentBuilder, Object) - Method in interface org.elasticsearch.xcontent.XContentBuilder.Writer
- writeBinary(byte[]) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeBinary(byte[]) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeBinary(byte[], int, int) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeBinary(byte[], int, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeBinaryField(String, byte[]) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeBinaryField(String, byte[]) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeBoolean(boolean) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeBoolean(boolean) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeBooleanField(String, boolean) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeBooleanField(String, boolean) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeDirectField(String, CheckedConsumer<OutputStream, IOException>) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- 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 class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeEndArray() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeEndObject() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeEndObject() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeEndRaw() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeFieldName(String) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeFieldName(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNull() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNull() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNullField(String) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNullField(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(double) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(double) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(float) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(float) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(int) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(long) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(long) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(short) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(short) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(BigDecimal) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(BigDecimal) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumber(BigInteger) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumber(BigInteger) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, double) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, double) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, float) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, float) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, int) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, long) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, long) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, BigDecimal) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, BigDecimal) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeNumberField(String, BigInteger) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeNumberField(String, BigInteger) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeRawField(String, InputStream) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeRawField(String, InputStream) - Method in interface org.elasticsearch.xcontent.XContentGenerator
-
Deprecated.use
XContentGenerator.writeRawField(String, InputStream, XContentType)
to avoid content type auto-detection - writeRawField(String, InputStream, XContentType) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- 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 class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeRawValue(InputStream, XContentType) - Method in interface org.elasticsearch.xcontent.XContentGenerator
-
Writes a raw value taken from the bytes in the stream
- writeStartArray() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeStartArray() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeStartObject() - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeStartObject() - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeString(char[], int, int) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeString(char[], int, int) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeString(String) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeString(String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeStringField(String, String) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- writeStringField(String, String) - Method in interface org.elasticsearch.xcontent.XContentGenerator
- writeUTF8String(byte[], int, int) - Method in class org.elasticsearch.xcontent.json.JsonXContentGenerator
- 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.
- 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>) - Constructor for class org.elasticsearch.xcontent.XContentBuilder
-
Constructs a new builder using the provided XContent, an OutputStream and some filters.
- XContentBuilder(XContent, OutputStream, Set<String>, Set<String>) - 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.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.
- XContentFactory - Class in org.elasticsearch.xcontent
-
A one stop to use
XContent
andXContentBuilder
. - XContentFactory() - Constructor for class org.elasticsearch.xcontent.XContentFactory
- 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 - 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 class org.elasticsearch.xcontent.XContentLocation
- 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
seeXContentType
for supported types. - XContentParser.NumberType - Enum Class in org.elasticsearch.xcontent
- XContentParser.Token - Enum Class in org.elasticsearch.xcontent
- 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
-
A YAML based content implementation using Jackson.
- YamlXContentGenerator - Class in org.elasticsearch.xcontent.yaml
- YamlXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.xcontent.yaml.YamlXContentGenerator
- YamlXContentParser - Class in org.elasticsearch.xcontent.yaml
- YamlXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.xcontent.yaml.YamlXContentParser
- YamlXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser, FilterPath[], FilterPath[]) - Constructor for class org.elasticsearch.xcontent.yaml.YamlXContentParser
_
- _includeScalar() - Method in class org.elasticsearch.xcontent.support.filtering.FilterPathBasedFilter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
XContentBuilder.rawField(String, InputStream, XContentType)
to avoid content type auto-detection