A B C D E F G H I J L M N O P R S T U V W X Y _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractObjectParser<Value,Context> - Class in org.elasticsearch.common.xcontent
-
Superclass for
ObjectParser
andConstructingObjectParser
. - AbstractObjectParser() - Constructor for class org.elasticsearch.common.xcontent.AbstractObjectParser
- AbstractXContentParser - Class in org.elasticsearch.common.xcontent.support
- AbstractXContentParser(NamedXContentRegistry, DeprecationHandler) - Constructor for class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- accept(Value, String, Object) - Method in interface org.elasticsearch.common.xcontent.ObjectParser.UnknownFieldConsumer
- apply(XContentParser, Context) - Method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
-
Call this to do the actual parsing.
- apply(XContentParser, Context) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- array(String, boolean[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, double[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, float[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, int[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, long[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, short[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, Object...) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, String...) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, BigDecimal[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- array(String, BigInteger[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
B
- BIG_DECIMAL - org.elasticsearch.common.xcontent.XContentParser.NumberType
- BIG_INTEGER - org.elasticsearch.common.xcontent.XContentParser.NumberType
- binaryValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- binaryValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- binaryValue() - Method in interface org.elasticsearch.common.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.common.xcontent.XContentSubParser
- BOOLEAN - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- BOOLEAN_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- booleanValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- booleanValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- booleanValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- builder(XContent) - Static method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Create a new
XContentBuilder
using the givenXContent
content. - builder(XContent, Set<String>, Set<String>) - Static method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Create a new
XContentBuilder
using the givenXContent
content and some inclusive and/or exclusive filters.
C
- categoryClass - Variable in class org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry
-
The class that this entry can read.
- CBOR - org.elasticsearch.common.xcontent.XContentType
-
A CBOR based content type.
- cborBuilder() - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Returns a content builder using CBOR format (
XContentType.CBOR
. - cborBuilder(OutputStream) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Constructs a new cbor builder that will output the result into the provided output stream.
- cborXContent - Static variable in class org.elasticsearch.common.xcontent.cbor.CborXContent
- CborXContent - Class in org.elasticsearch.common.xcontent.cbor
-
A CBOR based content implementation using Jackson.
- CborXContentGenerator - Class in org.elasticsearch.common.xcontent.cbor
- CborXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.common.xcontent.cbor.CborXContentGenerator
- CborXContentParser - Class in org.elasticsearch.common.xcontent.cbor
- CborXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.common.xcontent.cbor.CborXContentParser
- charBuffer() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- charBuffer() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- charBuffer() - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
Returns a
CharBuffer
holding UTF-8 bytes. - charBuffer() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- charBufferOrNull() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- charBufferOrNull() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- charBufferOrNull() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- close() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- close() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- close() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- close() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- close() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- columnNumber - Variable in class org.elasticsearch.common.xcontent.XContentLocation
- CommonFields() - Constructor for class org.elasticsearch.common.ParseField.CommonFields
- compile(Set<String>) - Static method in class org.elasticsearch.common.xcontent.support.filtering.FilterPath
- ConstructingObjectParser<Value,Context> - Class in org.elasticsearch.common.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.common.xcontent.ConstructingObjectParser
-
Build the parser.
- ConstructingObjectParser(String, boolean, Function<Object[], Value>) - Constructor for class org.elasticsearch.common.xcontent.ConstructingObjectParser
-
Build the parser.
- ConstructingObjectParser(String, Function<Object[], Value>) - Constructor for class org.elasticsearch.common.xcontent.ConstructingObjectParser
-
Build the parser.
- constructorArg() - Static method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
-
Pass the BiConsumer this returns the declare methods to declare a required constructor argument.
- contentBuilder() - Static method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- contentBuilder() - Static method in class org.elasticsearch.common.xcontent.json.JsonXContent
- contentBuilder() - Static method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- contentBuilder() - Static method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- contentBuilder(XContentType) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Returns a binary content builder for the provided content type.
- contentBuilder(XContentType, OutputStream) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Constructs a xcontent builder that will output the result into the provided output stream.
- contentType() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContentGenerator
- contentType() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContentParser
- contentType() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- contentType() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- contentType() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContentGenerator
- contentType() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContentParser
- contentType() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- contentType() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- contentType() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- contentType() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- contentType() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- contentType() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContentGenerator
- contentType() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContentParser
- ContextParser<Context,T> - Interface in org.elasticsearch.common.xcontent
-
Reads an object from a parser using some context.
- copyCurrentEvent(XContentParser) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- copyCurrentStructure(XContentParser) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- copyCurrentStructure(XContentParser) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- copyCurrentStructure(XContentParser) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- copyRawValue(InputStream, XContent) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- createGenerator(OutputStream) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a new generator using the provided output stream.
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in interface org.elasticsearch.common.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.common.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a parser over the provided input stream.
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a parser over the provided reader.
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in interface org.elasticsearch.common.xcontent.XContent
-
Creates a parser over the provided string content.
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- currentName() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- currentName() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- currentName() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- currentName() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- currentToken() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- currentToken() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- currentToken() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- currentToken() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
D
- declareBoolean(BiConsumer<Value, Boolean>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareDouble(BiConsumer<Value, Double>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareDoubleArray(BiConsumer<Value, List<Double>>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareField(BiConsumer<Value, T>, CheckedFunction<XContentParser, T, IOException>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
-
Declare some field.
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- declareField(ObjectParser.Parser<Value, Context>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- declareFieldArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.elasticsearch.common.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.common.xcontent.AbstractObjectParser
- declareFloatArray(BiConsumer<Value, List<Float>>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareInt(BiConsumer<Value, Integer>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareIntArray(BiConsumer<Value, List<Integer>>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareLong(BiConsumer<Value, Long>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareLongArray(BiConsumer<Value, List<Long>>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.common.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.common.xcontent.ConstructingObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.common.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.common.xcontent.ConstructingObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- declareObject(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareObjectArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareObjectOrDefault(BiConsumer<Value, T>, BiFunction<XContentParser, Context, T>, Supplier<T>, ParseField) - Method in class org.elasticsearch.common.xcontent.ObjectParser
- declareString(BiConsumer<Value, String>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareStringArray(BiConsumer<Value, List<String>>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- declareStringOrNull(BiConsumer<Value, String>, ParseField) - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- DEFAULT_NUMBER_COERCE_POLICY - Static variable in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- DelegatingMapParams(Map<String, String>, ToXContent.Params) - Constructor for class org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams
- DeprecationHandler - Interface in org.elasticsearch.common.xcontent
-
Callback for notifying the creator of the
XContentParser
that parsing hit a deprecated field. - doBooleanValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doBooleanValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doBooleanValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- doDoubleValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doDoubleValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doDoubleValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- doFloatValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doFloatValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doFloatValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- doIntValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doIntValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doIntValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- doLongValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doLongValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doLongValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- doShortValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- doShortValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doShortValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- DOUBLE - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- DOUBLE - org.elasticsearch.common.xcontent.XContentParser.NumberType
- DOUBLE_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- DOUBLE_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- doubleValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doubleValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- doubleValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- doubleValue(boolean) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- doubleValue(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentParser
- doubleValue(boolean) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
E
- EMPTY - Static variable in class org.elasticsearch.common.xcontent.NamedXContentRegistry
-
The empty
NamedXContentRegistry
for use when you are sure that you aren't going to callXContentParser.namedObject(Class, String, Object)
. - EMPTY_PARAMS - Static variable in interface org.elasticsearch.common.xcontent.ToXContent
- END_ARRAY - org.elasticsearch.common.xcontent.XContentParser.Token
- END_OBJECT - org.elasticsearch.common.xcontent.XContentParser.Token
- endArray() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- endObject() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- Entry(Class<T>, ParseField, CheckedFunction<XContentParser, ? extends T, IOException>) - Constructor for class org.elasticsearch.common.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.common.xcontent.NamedXContentRegistry.Entry
-
Creates a new entry which can be stored by the registry.
- eval(String, Object) - Static method in class org.elasticsearch.common.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.common.xcontent.XContentBuilder
- field(String, boolean) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, byte) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, byte[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, byte[], int, int) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, float) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, int) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, long) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, short) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Boolean) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Byte) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Float) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Integer) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Iterable<?>) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Long) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Object) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Short) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, String) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, BigDecimal) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, BigInteger) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, Map<String, Object>) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, ToXContent) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- field(String, ToXContent, ToXContent.Params) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- FIELD - Static variable in class org.elasticsearch.common.ParseField.CommonFields
- FIELD_NAME - org.elasticsearch.common.xcontent.XContentParser.Token
- FIELDS - Static variable in class org.elasticsearch.common.ParseField.CommonFields
- FilterPath - Class in org.elasticsearch.common.xcontent.support.filtering
- FilterPath(String, String, FilterPath) - Constructor for class org.elasticsearch.common.xcontent.support.filtering.FilterPath
- FilterPathBasedFilter - Class in org.elasticsearch.common.xcontent.support.filtering
- FilterPathBasedFilter(Set<String>, boolean) - Constructor for class org.elasticsearch.common.xcontent.support.filtering.FilterPathBasedFilter
- FilterPathBasedFilter(FilterPath[], boolean) - Constructor for class org.elasticsearch.common.xcontent.support.filtering.FilterPathBasedFilter
- FLOAT - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- FLOAT - org.elasticsearch.common.xcontent.XContentParser.NumberType
- FLOAT_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- FLOAT_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- floatValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- floatValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- floatValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- floatValue(boolean) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- floatValue(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentParser
- floatValue(boolean) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- flush() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- flush() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- FORMAT - Static variable in class org.elasticsearch.common.ParseField.CommonFields
- fromList(Class<ElementValue>, BiConsumer<Value, ElementValue[]>) - Static method in class org.elasticsearch.common.xcontent.ObjectParser
-
Adapts an array (or varags) setter into a list setter.
- fromMediaType(String) - Static method in enum org.elasticsearch.common.xcontent.XContentType
-
Attempts to match the given media type with the known
XContentType
values. - fromMediaTypeOrFormat(String) - Static method in enum org.elasticsearch.common.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.common.xcontent.json.JsonXContentGenerator
-
Generator used to write content
- generator() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- getAllNamesIncludedDeprecated() - Method in class org.elasticsearch.common.ParseField
- getAllReplacedWith() - Method in class org.elasticsearch.common.ParseField
- getColumnNumber() - Method in exception org.elasticsearch.common.xcontent.XContentParseException
- getDateTransformers() - Method in interface org.elasticsearch.common.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.common.ParseField
- getDeprecationHandler() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- getDeprecationHandler() - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
The callback to notify when parsing encounters a deprecated field.
- getDeprecationHandler() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- getLineNumber() - Method in exception org.elasticsearch.common.xcontent.XContentParseException
- getLocation() - Method in exception org.elasticsearch.common.xcontent.XContentParseException
- getMessage() - Method in exception org.elasticsearch.common.xcontent.XContentParseException
- getName() - Method in class org.elasticsearch.common.xcontent.AbstractObjectParser
- getName() - Method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
- getName() - Method in class org.elasticsearch.common.xcontent.ObjectParser
-
Get the name of the parser.
- getOutputStream() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- getPreferredName() - Method in class org.elasticsearch.common.ParseField
- getTokenLocation() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- getTokenLocation() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- getTokenLocation() - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
Used for error reporting to highlight where syntax errors occur in content being parsed.
- getTokenLocation() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- getXContentHumanReadableTransformers() - Method in interface org.elasticsearch.common.xcontent.XContentBuilderExtension
-
Used for plugging in a human readable version of a class's encoding.
- getXContentRegistry() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- getXContentRegistry() - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
The registry used to resolve
XContentParser.namedObject(Class, String, Object)
. - getXContentRegistry() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- getXContentWriters() - Method in interface org.elasticsearch.common.xcontent.XContentBuilderExtension
-
Used for plugging in a generic writer for a class, for example, an example implementation:
H
- hasTextCharacters() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- hasTextCharacters() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- hasTextCharacters() - Method in interface org.elasticsearch.common.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.common.xcontent.XContentSubParser
- humanReadable() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- humanReadable(boolean) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Set the "human readable" flag.
- humanReadableField(String, String, Object) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
I
- includeProperty(String) - Method in class org.elasticsearch.common.xcontent.support.filtering.FilterPathBasedFilter
- index() - Method in enum org.elasticsearch.common.xcontent.XContentType
- INT - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- INT - org.elasticsearch.common.xcontent.XContentParser.NumberType
- INT_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- INT_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- intValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- intValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- intValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- intValue(boolean) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- intValue(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentParser
- intValue(boolean) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- isBooleanValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- isBooleanValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- isBooleanValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- isClosed() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- isClosed() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- isClosed() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- isClosed() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- isClosed() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
-
Returns
true
if this XContentGenerator has been closed. - isClosed() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- isClosed() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- isFragment() - Method in interface org.elasticsearch.common.xcontent.ToXContent
- isFragment() - Method in interface org.elasticsearch.common.xcontent.ToXContentFragment
- isFragment() - Method in interface org.elasticsearch.common.xcontent.ToXContentObject
- isPrettyPrint() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- isPrettyPrint() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- isPrettyPrint() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- isValue() - Method in enum org.elasticsearch.common.xcontent.XContentParser.Token
J
- JSON - org.elasticsearch.common.xcontent.XContentType
-
A JSON based content type.
- jsonBuilder() - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Returns a content builder using JSON format (
XContentType.JSON
. - jsonBuilder(OutputStream) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Constructs a new json builder that will output the result into the provided output stream.
- jsonXContent - Static variable in class org.elasticsearch.common.xcontent.json.JsonXContent
- JsonXContent - Class in org.elasticsearch.common.xcontent.json
-
A JSON based content implementation using Jackson.
- JsonXContentGenerator - Class in org.elasticsearch.common.xcontent.json
- JsonXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- JsonXContentParser - Class in org.elasticsearch.common.xcontent.json
- JsonXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.common.xcontent.json.JsonXContentParser
L
- latlon(double, double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- latlon(String, double, double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- lfAtEnd() - Method in class org.elasticsearch.common.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.common.xcontent.XContentLocation
- list() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- list() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- list() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- listOrderedMap() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- listOrderedMap() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- listOrderedMap() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- LONG - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- LONG - org.elasticsearch.common.xcontent.XContentParser.NumberType
- LONG_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- LONG_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- longValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- longValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- longValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- longValue(boolean) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- longValue(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentParser
- longValue(boolean) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
M
- map() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- map() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- map() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
Returns an instance of
Map
holding parsed map. - map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- map(Map<String, ?>) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- mapContents(Map<String, ?>) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
writes a map without the start object and end object headers
- mapOrdered() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- mapOrdered() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- mapOrdered() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- MapParams(Map<String, String>) - Constructor for class org.elasticsearch.common.xcontent.ToXContent.MapParams
- mapStrings() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- mapStrings() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- mapStrings() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- MapXContentParser - Class in org.elasticsearch.common.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.common.xcontent.support.MapXContentParser
- match(String, DeprecationHandler) - Method in class org.elasticsearch.common.ParseField
-
Does
fieldName
match this field? - matches() - Method in class org.elasticsearch.common.xcontent.support.filtering.FilterPath
- matchProperty(String) - Method in class org.elasticsearch.common.xcontent.support.filtering.FilterPath
- mediaType() - Method in enum org.elasticsearch.common.xcontent.XContentType
- mediaTypeWithoutParameters() - Method in enum org.elasticsearch.common.xcontent.XContentType
- MISSING - Static variable in class org.elasticsearch.common.ParseField.CommonFields
N
- name - Variable in class org.elasticsearch.common.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.common.xcontent.support.AbstractXContentParser
- namedObject(Class<T>, String, Object) - Method in interface org.elasticsearch.common.xcontent.XContentParser
-
Parse an object by name.
- namedObject(Class<T>, String, Object) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- NamedObjectNotFoundException - Exception in org.elasticsearch.common.xcontent
-
Thrown when
NamedXContentRegistry
cannot locate a named object to parse for a particular name - NamedObjectNotFoundException(String) - Constructor for exception org.elasticsearch.common.xcontent.NamedObjectNotFoundException
- NamedObjectNotFoundException(XContentLocation, String) - Constructor for exception org.elasticsearch.common.xcontent.NamedObjectNotFoundException
- NamedXContentRegistry - Class in org.elasticsearch.common.xcontent
- NamedXContentRegistry(List<NamedXContentRegistry.Entry>) - Constructor for class org.elasticsearch.common.xcontent.NamedXContentRegistry
- NamedXContentRegistry.Entry - Class in org.elasticsearch.common.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.common.xcontent.json.JsonXContentParser
- nextToken() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- nextToken() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- nextToken() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- nullField(String) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- nullValue() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- numberType() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- numberType() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- numberType() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- numberType() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- numberValue() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- numberValue() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- numberValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- numberValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
O
- OBJECT - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_BOOLEAN_OR_STRING - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_OR_STRING - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_STRING_OR_NUMBER - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_OR_BOOLEAN - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_OR_LONG - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- OBJECT_OR_STRING - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- objectBytes() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- objectBytes() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- objectBytes() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- objectBytes() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- ObjectParser<Value,Context> - Class in org.elasticsearch.common.xcontent
-
A declarative, stateless parser that turns XContent into setter calls.
- ObjectParser(String) - Constructor for class org.elasticsearch.common.xcontent.ObjectParser
-
Creates a new ObjectParser instance with a name.
- ObjectParser(String, boolean, Supplier<Value>) - Constructor for class org.elasticsearch.common.xcontent.ObjectParser
-
Creates a new ObjectParser instance with a name.
- ObjectParser(String, Supplier<Value>) - Constructor for class org.elasticsearch.common.xcontent.ObjectParser
-
Creates a new ObjectParser instance with a name.
- ObjectParser(String, ObjectParser.UnknownFieldConsumer<Value>, Supplier<Value>) - Constructor for class org.elasticsearch.common.xcontent.ObjectParser
-
Creates a new ObjectParser instance with a name.
- ObjectParser.NamedObjectParser<T,Context> - Interface in org.elasticsearch.common.xcontent
-
Functional interface for instantiating and parsing named objects.
- ObjectParser.Parser<Value,Context> - Interface in org.elasticsearch.common.xcontent
- ObjectParser.UnknownFieldConsumer<Value> - Interface in org.elasticsearch.common.xcontent
-
Defines how to consume a parsed undefined field
- ObjectParser.ValueType - Enum in org.elasticsearch.common.xcontent
- ObjectPath - Class in org.elasticsearch.common.xcontent
-
Helper class to navigate nested objects using dot notation
- objectText() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- objectText() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- objectText() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- objectText() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- optionalConstructorArg() - Static method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
-
Pass the BiConsumer this returns the declare methods to declare an optional constructor argument.
- org.elasticsearch.common - package org.elasticsearch.common
- org.elasticsearch.common.xcontent - package org.elasticsearch.common.xcontent
- org.elasticsearch.common.xcontent.cbor - package org.elasticsearch.common.xcontent.cbor
- org.elasticsearch.common.xcontent.json - package org.elasticsearch.common.xcontent.json
- org.elasticsearch.common.xcontent.smile - package org.elasticsearch.common.xcontent.smile
- org.elasticsearch.common.xcontent.support - package org.elasticsearch.common.xcontent.support
- org.elasticsearch.common.xcontent.support.filtering - package org.elasticsearch.common.xcontent.support.filtering
- org.elasticsearch.common.xcontent.yaml - package org.elasticsearch.common.xcontent.yaml
P
- param(String) - Method in class org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams
- param(String) - Method in class org.elasticsearch.common.xcontent.ToXContent.MapParams
- param(String) - Method in interface org.elasticsearch.common.xcontent.ToXContent.Params
- param(String, String) - Method in class org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams
- param(String, String) - Method in class org.elasticsearch.common.xcontent.ToXContent.MapParams
- param(String, String) - Method in interface org.elasticsearch.common.xcontent.ToXContent.Params
- paramAsBoolean(String, boolean) - Method in class org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams
- paramAsBoolean(String, boolean) - Method in class org.elasticsearch.common.xcontent.ToXContent.MapParams
- paramAsBoolean(String, boolean) - Method in interface org.elasticsearch.common.xcontent.ToXContent.Params
- paramAsBoolean(String, Boolean) - Method in class org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams
- paramAsBoolean(String, Boolean) - Method in class org.elasticsearch.common.xcontent.ToXContent.MapParams
- paramAsBoolean(String, Boolean) - Method in interface org.elasticsearch.common.xcontent.ToXContent.Params
- parse(XContentParser, Context) - Method in class org.elasticsearch.common.xcontent.ConstructingObjectParser
- parse(XContentParser, Context) - Method in interface org.elasticsearch.common.xcontent.ContextParser
- parse(XContentParser, Context) - Method in class org.elasticsearch.common.xcontent.ObjectParser
-
Parses a Value from the given
XContentParser
- parse(XContentParser, Context, String) - Method in interface org.elasticsearch.common.xcontent.ObjectParser.NamedObjectParser
- parse(XContentParser, Value, Context) - Method in class org.elasticsearch.common.xcontent.ObjectParser
-
Parses a Value from the given
XContentParser
- parse(XContentParser, Value, Context) - Method in interface org.elasticsearch.common.xcontent.ObjectParser.Parser
- ParseField - Class in org.elasticsearch.common
-
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.common.ParseField
- ParseField.CommonFields - Class in org.elasticsearch.common
- parseNamedObject(Class<T>, String, XContentParser, C) - Method in class org.elasticsearch.common.xcontent.NamedXContentRegistry
-
Parse a named object, throwing an exception if the parser isn't found.
- percentageField(String, String, double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- prettyPrint() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
R
- rawField(String, InputStream) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Deprecated.use
XContentBuilder.rawField(String, InputStream, XContentType)
to avoid content type auto-detection - rawField(String, InputStream, XContentType) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Writes a raw field with the value taken from the bytes in the stream
- rawValue(InputStream, XContentType) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Writes a value with the source coming directly from the bytes in the stream
- rawValue(Object) - Method in interface org.elasticsearch.common.xcontent.XContentBuilder.HumanReadableTransformer
- readValue(XContentParser, Supplier<Map<String, Object>>) - Static method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- readValue(XContentParser, XContentParser.Token) - Static method in class org.elasticsearch.common.xcontent.XContentUtils
-
Convert a
XContentParser.Token
to a value
S
- shortName() - Method in enum org.elasticsearch.common.xcontent.XContentType
- shortValue() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- shortValue() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- shortValue() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- shortValue(boolean) - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- shortValue(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentParser
- shortValue(boolean) - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- skipChildren() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- skipChildren() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- skipChildren() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- skipChildren() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- SMILE - org.elasticsearch.common.xcontent.XContentType
-
The jackson based smile binary format.
- smileBuilder() - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Returns a content builder using SMILE format (
XContentType.SMILE
. - smileBuilder(OutputStream) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Constructs a new json builder that will output the result into the provided output stream.
- smileXContent - Static variable in class org.elasticsearch.common.xcontent.smile.SmileXContent
- SmileXContent - Class in org.elasticsearch.common.xcontent.smile
-
A Smile based content implementation using Jackson.
- SmileXContentGenerator - Class in org.elasticsearch.common.xcontent.smile
- SmileXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.common.xcontent.smile.SmileXContentGenerator
- SmileXContentParser - Class in org.elasticsearch.common.xcontent.smile
- SmileXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.common.xcontent.smile.SmileXContentParser
- START_ARRAY - org.elasticsearch.common.xcontent.XContentParser.Token
- START_OBJECT - org.elasticsearch.common.xcontent.XContentParser.Token
- startArray() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- startArray(String) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- startObject() - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- startObject(String) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- streamSeparator() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- streamSeparator() - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- streamSeparator() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- streamSeparator() - Method in interface org.elasticsearch.common.xcontent.XContent
- streamSeparator() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- STRING - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- STRING_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- STRING_OR_NULL - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- supportedTokens() - Method in enum org.elasticsearch.common.xcontent.ObjectParser.ValueType
- supportsRawWrites() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContentGenerator
- supportsRawWrites() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
-
Whether this generator supports writing raw data directly
- supportsRawWrites() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContentGenerator
- supportsRawWrites() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContentGenerator
T
- text() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- text() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- text() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- text() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- textCharacters() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- textCharacters() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- textCharacters() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- textCharacters() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- textLength() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- textLength() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- textLength() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- textLength() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- textOffset() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentParser
- textOffset() - Method in class org.elasticsearch.common.xcontent.support.MapXContentParser
- textOffset() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- textOffset() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- textOrNull() - Method in class org.elasticsearch.common.xcontent.support.AbstractXContentParser
- textOrNull() - Method in interface org.elasticsearch.common.xcontent.XContentParser
- textOrNull() - Method in class org.elasticsearch.common.xcontent.XContentSubParser
- THROW_UNSUPPORTED_OPERATION - Static variable in interface org.elasticsearch.common.xcontent.DeprecationHandler
-
Throws an
UnsupportedOperationException
when parsing hits a deprecated field. - TIME_ZONE - Static variable in class org.elasticsearch.common.ParseField.CommonFields
- timeField(String, Object) - Method in class org.elasticsearch.common.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.common.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.common.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.common.ParseField
- toString() - Method in class org.elasticsearch.common.xcontent.ObjectParser
- toString() - Method in class org.elasticsearch.common.xcontent.support.filtering.FilterPath
- toString() - Method in class org.elasticsearch.common.xcontent.XContentLocation
- toXContent(XContentBuilder, ToXContent.Params) - Method in interface org.elasticsearch.common.xcontent.ToXContent
- ToXContent - Interface in org.elasticsearch.common.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder
. - ToXContent.DelegatingMapParams - Class in org.elasticsearch.common.xcontent
- ToXContent.MapParams - Class in org.elasticsearch.common.xcontent
- ToXContent.Params - Interface in org.elasticsearch.common.xcontent
- ToXContentFragment - Interface in org.elasticsearch.common.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder
. - ToXContentObject - Interface in org.elasticsearch.common.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder
. - type() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContent
- type() - Method in class org.elasticsearch.common.xcontent.json.JsonXContent
- type() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContent
- type() - Method in interface org.elasticsearch.common.xcontent.XContent
-
The type this content handles and produces.
- type() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContent
U
- usedDeprecatedField(String, String) - Method in interface org.elasticsearch.common.xcontent.DeprecationHandler
-
Called when the provided field name matches the current field but the entire field has been marked as deprecated.
- usedDeprecatedName(String, String) - Method in interface org.elasticsearch.common.xcontent.DeprecationHandler
-
Called when the provided field name matches a deprecated name for the field.
- usePrettyPrint() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- usePrettyPrint() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.common.xcontent.cbor.CborXContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.common.xcontent.smile.SmileXContentGenerator
- usePrintLineFeedAtEnd() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- usePrintLineFeedAtEnd() - Method in class org.elasticsearch.common.xcontent.yaml.YamlXContentGenerator
- utf8Value(byte[], int, int) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
-
Writes the binary content of the given byte array as UTF-8 bytes.
V
- value(boolean) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(byte) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(byte[]) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(byte[], int, int) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(float) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(int) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(long) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(short) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Boolean) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Byte) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Double) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Float) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Integer) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Long) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Object) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Short) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(String) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(BigDecimal) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(BigInteger) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- value(Path) - Method in class org.elasticsearch.common.xcontent.XContentBuilder
- VALUE - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- VALUE_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- VALUE_BOOLEAN - org.elasticsearch.common.xcontent.XContentParser.Token
- VALUE_EMBEDDED_OBJECT - org.elasticsearch.common.xcontent.XContentParser.Token
- VALUE_NULL - org.elasticsearch.common.xcontent.XContentParser.Token
- VALUE_NUMBER - org.elasticsearch.common.xcontent.XContentParser.Token
- VALUE_OBJECT_ARRAY - org.elasticsearch.common.xcontent.ObjectParser.ValueType
- VALUE_STRING - org.elasticsearch.common.xcontent.XContentParser.Token
- valueOf(String) - Static method in enum org.elasticsearch.common.xcontent.ObjectParser.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.elasticsearch.common.xcontent.XContentParser.NumberType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.elasticsearch.common.xcontent.XContentParser.Token
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.elasticsearch.common.xcontent.XContentType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.elasticsearch.common.xcontent.ObjectParser.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.elasticsearch.common.xcontent.XContentParser.NumberType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.elasticsearch.common.xcontent.XContentParser.Token
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.elasticsearch.common.xcontent.XContentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withAllDeprecated(String) - Method in class org.elasticsearch.common.ParseField
-
Return a new ParseField where all field names are deprecated and replaced with
allReplacedWith
. - withDeprecation(String...) - Method in class org.elasticsearch.common.ParseField
- write(XContentBuilder, Object) - Method in interface org.elasticsearch.common.xcontent.XContentBuilder.Writer
- writeBinary(byte[]) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeBinary(byte[]) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeBinary(byte[], int, int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeBinary(byte[], int, int) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeBinaryField(String, byte[]) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeBinaryField(String, byte[]) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeBoolean(boolean) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeBoolean(boolean) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeBooleanField(String, boolean) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeBooleanField(String, boolean) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeEndArray() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeEndArray() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeEndObject() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeEndObject() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeEndRaw() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeFieldName(String) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeFieldName(String) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNull() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNull() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNullField(String) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNullField(String) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(double) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(double) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(float) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(float) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(int) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(long) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(long) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(short) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(short) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(BigDecimal) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(BigDecimal) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumber(BigInteger) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumber(BigInteger) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, double) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, double) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, float) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, float) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, int) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, long) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, long) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, BigDecimal) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, BigDecimal) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeNumberField(String, BigInteger) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeNumberField(String, BigInteger) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeRawField(String, InputStream) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeRawField(String, InputStream) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
-
Deprecated.use
XContentGenerator.writeRawField(String, InputStream, XContentType)
to avoid content type auto-detection - writeRawField(String, InputStream, XContentType) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeRawField(String, InputStream, XContentType) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
-
Writes a raw field with the value taken from the bytes in the stream
- writeRawValue(InputStream, XContentType) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeRawValue(InputStream, XContentType) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
-
Writes a raw value taken from the bytes in the stream
- writeStartArray() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeStartArray() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeStartObject() - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeStartObject() - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeString(char[], int, int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeString(char[], int, int) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeString(String) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeString(String) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeStringField(String, String) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeStringField(String, String) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
- writeUTF8String(byte[], int, int) - Method in class org.elasticsearch.common.xcontent.json.JsonXContentGenerator
- writeUTF8String(byte[], int, int) - Method in interface org.elasticsearch.common.xcontent.XContentGenerator
X
- xContent() - Method in enum org.elasticsearch.common.xcontent.XContentType
- xContent(byte[]) - Static method in class org.elasticsearch.common.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.common.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.common.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.common.xcontent.XContentFactory
-
Returns the
XContent
for the provided content type. - XContent - Interface in org.elasticsearch.common.xcontent
-
A generic abstraction on top of handling content, inspired by JSON and pull parsing.
- XContentBuilder - Class in org.elasticsearch.common.xcontent
-
A utility to build XContent (ie json).
- XContentBuilder(XContent, OutputStream) - Constructor for class org.elasticsearch.common.xcontent.XContentBuilder
-
Constructs a new builder using the provided XContent and an OutputStream.
- XContentBuilder(XContent, OutputStream, Set<String>) - Constructor for class org.elasticsearch.common.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.common.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.common.xcontent
-
Interface for transforming complex objects into their "raw" equivalents for human-readable fields
- XContentBuilder.Writer - Interface in org.elasticsearch.common.xcontent
- XContentBuilderExtension - Interface in org.elasticsearch.common.xcontent
-
This interface provides a way for non-JDK classes to plug in a way to serialize to xcontent.
- XContentFactory - Class in org.elasticsearch.common.xcontent
-
A one stop to use
XContent
andXContentBuilder
. - XContentFactory() - Constructor for class org.elasticsearch.common.xcontent.XContentFactory
- XContentGenerator - Interface in org.elasticsearch.common.xcontent
- XContentLocation - Class in org.elasticsearch.common.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.common.xcontent.XContentLocation
- XContentParseException - Exception in org.elasticsearch.common.xcontent
-
Thrown when one of the XContent parsers cannot parse something.
- XContentParseException(String) - Constructor for exception org.elasticsearch.common.xcontent.XContentParseException
- XContentParseException(XContentLocation, String) - Constructor for exception org.elasticsearch.common.xcontent.XContentParseException
- XContentParseException(XContentLocation, String, Exception) - Constructor for exception org.elasticsearch.common.xcontent.XContentParseException
- XContentParser - Interface in org.elasticsearch.common.xcontent
-
Interface for pull - parsing
XContent
seeXContentType
for supported types. - XContentParser.NumberType - Enum in org.elasticsearch.common.xcontent
- XContentParser.Token - Enum in org.elasticsearch.common.xcontent
- XContentSubParser - Class in org.elasticsearch.common.xcontent
-
Wrapper for a XContentParser that makes a single object/array look like a complete document.
- XContentSubParser(XContentParser) - Constructor for class org.elasticsearch.common.xcontent.XContentSubParser
- xContentType(byte[]) - Static method in class org.elasticsearch.common.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.common.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.common.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.common.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 in org.elasticsearch.common.xcontent
-
The content type of
XContent
. - XContentUtils - Class in org.elasticsearch.common.xcontent
Y
- YAML - org.elasticsearch.common.xcontent.XContentType
-
A YAML based content type.
- yamlBuilder() - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Returns a content builder using YAML format (
XContentType.YAML
. - yamlBuilder(OutputStream) - Static method in class org.elasticsearch.common.xcontent.XContentFactory
-
Constructs a new yaml builder that will output the result into the provided output stream.
- yamlXContent - Static variable in class org.elasticsearch.common.xcontent.yaml.YamlXContent
- YamlXContent - Class in org.elasticsearch.common.xcontent.yaml
-
A YAML based content implementation using Jackson.
- YamlXContentGenerator - Class in org.elasticsearch.common.xcontent.yaml
- YamlXContentGenerator(JsonGenerator, OutputStream, Set<String>, Set<String>) - Constructor for class org.elasticsearch.common.xcontent.yaml.YamlXContentGenerator
- YamlXContentParser - Class in org.elasticsearch.common.xcontent.yaml
- YamlXContentParser(NamedXContentRegistry, DeprecationHandler, JsonParser) - Constructor for class org.elasticsearch.common.xcontent.yaml.YamlXContentParser
_
- _includeScalar() - Method in class org.elasticsearch.common.xcontent.support.filtering.FilterPathBasedFilter
All Classes All Packages