Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBytesReference - Class in org.opensearch.core.common.bytes
-
Base bytesref class
- AbstractBytesReference() - Constructor for class org.opensearch.core.common.bytes.AbstractBytesReference
- AbstractObjectParser<Value,
Context> - Class in org.opensearch.core.xcontent -
Superclass for
ObjectParserandConstructingObjectParser. - AbstractObjectParser() - Constructor for class org.opensearch.core.xcontent.AbstractObjectParser
- AbstractXContentParser - Class in org.opensearch.core.xcontent
-
Base class for parsing serializable content
- AbstractXContentParser(NamedXContentRegistry, DeprecationHandler) - Constructor for class org.opensearch.core.xcontent.AbstractXContentParser
- accept(Value, String, Object) - Method in interface org.opensearch.core.xcontent.ObjectParser.UnknownFieldConsumer
- ACCEPTED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request has been accepted for processing, but the processing has not been completed.
- ActionListener<Response> - Interface in org.opensearch.core.action
-
A listener for action responses or failures.
- ActionResponse - Class in org.opensearch.core.action
-
Base class for responses to action requests.
- ActionResponse() - Constructor for class org.opensearch.core.action.ActionResponse
- ActionResponse(StreamInput) - Constructor for class org.opensearch.core.action.ActionResponse
- addEstimateBytesAndMaybeBreak(long, String) - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
-
add bytes to the breaker and maybe trip
- addEstimateBytesAndMaybeBreak(long, String) - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
This is a noop, always return 0 and never throw/trip
- addHeader(String, String...) - Method in exception class org.opensearch.OpenSearchException
-
Adds a new header with the given key.
- addHeader(String, List<String>) - Method in exception class org.opensearch.OpenSearchException
-
Adds a new header with the given key.
- addMetadata(String, String...) - Method in exception class org.opensearch.OpenSearchException
-
Adds a new piece of metadata with the given key.
- addMetadata(String, List<String>) - Method in exception class org.opensearch.OpenSearchException
-
Adds a new piece of metadata with the given key.
- address() - Method in class org.opensearch.core.common.transport.TransportAddress
-
Returns the enclosed
InetSocketAddress - addWithoutBreaking(long) - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
-
Adjust the circuit breaker without tripping
- addWithoutBreaking(long) - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
This is a noop, nothing is added, always return 0
- after(Version) - Method in class org.opensearch.Version
- AllCircuitBreakerStats - Class in org.opensearch.core.indices.breaker
-
Stats class encapsulating all of the different circuit breaker stats
- AllCircuitBreakerStats(StreamInput) - Constructor for class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
-
Constructs the new instance from
StreamInput - AllCircuitBreakerStats(CircuitBreakerStats[]) - Constructor for class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
-
Constructs the instance
- append(Path, Path, int) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Appends the path to the given base and strips N elements off the path if strip is > 0.
- apply(XContentParser, Context) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
-
Call this to do the actual parsing.
- apply(XContentParser, Context) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser
- apply(XContentParser, Context) - Method in class org.opensearch.core.xcontent.ObjectParser
- array() - Method in class org.opensearch.core.common.bytes.BytesArray
- array() - Method in interface org.opensearch.core.common.util.ByteArray
-
Get backing byte array analogous to
ByteBuffer.array(). - array(String, boolean[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, double[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, float[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, int[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, long[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, short[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, Object...) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, String...) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, BigDecimal[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- array(String, BigInteger[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- arrayAsArrayList(E...) - Static method in class org.opensearch.core.common.util.CollectionUtils
- arrayToCommaDelimitedString(Object[]) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to return a String array as a CSV String.
- arrayToDelimitedString(Object[], String) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to return a String array as a delimited (e.g.
- arrayToDelimitedString(Object[], String, StringBuilder) - Static method in class org.opensearch.core.common.Strings
- asArrayList(E, E...) - Static method in class org.opensearch.core.common.util.CollectionUtils
- asArrayList(E, E, E...) - Static method in class org.opensearch.core.common.util.CollectionUtils
- asEscapedString() - Method in enum org.opensearch.semver.SemverRange.RangeOperator
-
Escaped string representation of the range operator, if operator is a regex character.
- Assertions - Class in org.opensearch.core
-
Provides a static final field that can be used to check if assertions are enabled.
- asString() - Method in enum org.opensearch.semver.SemverRange.RangeOperator
-
String representation of the range operator.
- available() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- available() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- available() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- available() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- available() - Method in class org.opensearch.core.common.io.stream.StreamInput
B
- BAD_GATEWAY - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
- BAD_REQUEST - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request could not be understood by the server due to malformed syntax.
- before(Version) - Method in class org.opensearch.Version
- BIG_DECIMAL - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- BIG_INTEGER - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- BigArray - Interface in org.opensearch.core.common.util
-
Base abstraction of an array.
- bigIntegerValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- bigIntegerValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- bigIntegerValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- bigIntegerValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- bigIntegerValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- bigIntegerValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
- binaryValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- binaryValue() - Method in interface org.opensearch.core.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 theirStringvariants of the separated value methods. - binaryValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- BOOLEAN - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- BOOLEAN_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- booleanValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- booleanValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- booleanValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- boundAddresses() - Method in class org.opensearch.core.common.transport.BoundTransportAddress
- BoundTransportAddress - Class in org.opensearch.core.common.transport
-
A bounded transport address is a tuple of
TransportAddress, one array that represents the addresses the transport is bound to, and the other is the published one that represents the address clients should communicate on. - BoundTransportAddress(StreamInput) - Constructor for class org.opensearch.core.common.transport.BoundTransportAddress
- BoundTransportAddress(TransportAddress[], TransportAddress) - Constructor for class org.opensearch.core.common.transport.BoundTransportAddress
- build - Variable in class org.opensearch.Version
- build() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- build() - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- Build - Class in org.opensearch
-
Information about a build of OpenSearch.
- Build(Build.Type, String, String, boolean, String, String) - Constructor for class org.opensearch.Build
- Build.Type - Enum in org.opensearch
-
The type of build
- builder(String, boolean, Class<Value>) - Static method in class org.opensearch.core.xcontent.InstantiatingObjectParser
- builder(String, Class<Value>) - Static method in class org.opensearch.core.xcontent.InstantiatingObjectParser
- builder(XContent) - Static method in class org.opensearch.core.xcontent.XContentBuilder
-
Create a new
XContentBuilderusing the givenXContentcontent. - builder(XContent, Set<String>, Set<String>) - Static method in class org.opensearch.core.xcontent.XContentBuilder
-
Create a new
XContentBuilderusing the givenXContentcontent and some inclusive and/or exclusive filters. - Builder() - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- Builder(String, boolean, Class<Value>) - Constructor for class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- Builder(String, Class<Value>) - Constructor for class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- ByteArray - Interface in org.opensearch.core.common.util
-
Abstraction of an array of byte values.
- ByteBufferStreamInput - Class in org.opensearch.core.common.io.stream
-
Byte Buffer Stream Input
- ByteBufferStreamInput(ByteBuffer) - Constructor for class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- bytes() - Method in class org.opensearch.core.common.io.stream.BytesStream
- bytes() - Method in class org.opensearch.core.common.text.Text
-
Returns a
BytesReferenceview of the data. - bytes(XContentBuilder) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Convert an
XContentBuilderinto a BytesReference. - BYTES - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
- BytesArray - Class in org.opensearch.core.common.bytes
-
A bytes array.
- BytesArray(byte[]) - Constructor for class org.opensearch.core.common.bytes.BytesArray
- BytesArray(byte[], int, int) - Constructor for class org.opensearch.core.common.bytes.BytesArray
- BytesArray(String) - Constructor for class org.opensearch.core.common.bytes.BytesArray
- BytesArray(BytesRef) - Constructor for class org.opensearch.core.common.bytes.BytesArray
- BytesArray(BytesRef, boolean) - Constructor for class org.opensearch.core.common.bytes.BytesArray
- bytesAsInt() - Method in class org.opensearch.core.common.unit.ByteSizeValue
-
Deprecated.
- ByteSizeUnit - Enum in org.opensearch.core.common.unit
-
A
SizeUnitrepresents size at a given unit of granularity and provides utility methods to convert across units. - ByteSizeValue - Class in org.opensearch.core.common.unit
-
A byte size value
- ByteSizeValue(long) - Constructor for class org.opensearch.core.common.unit.ByteSizeValue
- ByteSizeValue(long, ByteSizeUnit) - Constructor for class org.opensearch.core.common.unit.ByteSizeValue
- ByteSizeValue(StreamInput) - Constructor for class org.opensearch.core.common.unit.ByteSizeValue
- BytesReference - Interface in org.opensearch.core.common.bytes
-
A reference to bytes.
- BytesRefUtils - Class in org.opensearch.core.util
-
Utilities for sorting Lucene
BytesRefArray - BytesRefUtils() - Constructor for class org.opensearch.core.util.BytesRefUtils
- BytesStream - Class in org.opensearch.core.common.io.stream
-
Base Bytes Stream.
- BytesStream() - Constructor for class org.opensearch.core.common.io.stream.BytesStream
- BytesStreamInput - Class in org.opensearch.core.common.io.stream
-
StreamInputversion of Lucene'sByteArrayDataInputThis is used as a replacement of Lucene ByteArrayDataInput for abstracting byte order changes in Lucene's API - BytesStreamInput() - Constructor for class org.opensearch.core.common.io.stream.BytesStreamInput
- BytesStreamInput(byte[]) - Constructor for class org.opensearch.core.common.io.stream.BytesStreamInput
- BytesStreamInput(byte[], int, int) - Constructor for class org.opensearch.core.common.io.stream.BytesStreamInput
- bytesToLong(BytesRef) - Static method in class org.opensearch.core.util.BytesRefUtils
-
Decodes a long value written as bytes in big endian order.
C
- capitalize(String) - Static method in class org.opensearch.core.common.Strings
-
Capitalize a
String, changing the first letter to upper case as perCharacter.toUpperCase(char). - Caret - Class in org.opensearch.semver.expr
-
Expression to evaluate version compatibility allowing for minor and patch version variability.
- Caret() - Constructor for class org.opensearch.semver.expr.Caret
- CARET - Enum constant in enum org.opensearch.semver.SemverRange.RangeOperator
- catchAsRuntimeException(CheckedRunnable<Exception>) - Static method in class org.opensearch.ExceptionsHelper
-
Run passed runnable and catch exception and translate exception into runtime exception using
ExceptionsHelper.convertToRuntime(Exception) - catchAsRuntimeException(CheckedSupplier<R, E>) - Static method in class org.opensearch.ExceptionsHelper
-
Run passed runnable and catch exception and translate exception into runtime exception using
ExceptionsHelper.convertToRuntime(Exception) - categoryClass - Variable in class org.opensearch.core.common.io.stream.NamedWriteableRegistry.Entry
-
The superclass of a
NamedWriteablewhich will be read byNamedWriteableRegistry.Entry.reader. - categoryClass - Variable in class org.opensearch.core.xcontent.NamedXContentRegistry.Entry
-
The class that this entry can read.
- cause - Variable in class org.opensearch.core.action.ShardOperationFailedException
- charAt(int) - Method in class org.opensearch.core.common.settings.SecureString
- charBuffer() - Method in class org.opensearch.core.xcontent.MapXContentParser
- charBuffer() - Method in interface org.opensearch.core.xcontent.XContentParser
-
Returns a
CharBufferholding UTF-8 bytes. - charBuffer() - Method in class org.opensearch.core.xcontent.XContentSubParser
- charBufferOrNull() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- charBufferOrNull() - Method in interface org.opensearch.core.xcontent.XContentParser
- charBufferOrNull() - Method in class org.opensearch.core.xcontent.XContentSubParser
- checkWriteable(Object) - Static method in class org.opensearch.core.common.io.stream.StreamOutput
- circuitBreak(String, long) - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
-
Trip the circuit breaker
- circuitBreak(String, long) - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
This is a noop, a noop breaker never trip
- CircuitBreaker - Interface in org.opensearch.core.common.breaker
-
Interface for an object that can be incremented, breaking after some configured limit has been reached.
- CircuitBreaker.Durability - Enum in org.opensearch.core.common.breaker
-
The breaker durability can be
CircuitBreaker.Durability.TRANSIENTorCircuitBreaker.Durability.PERMANENT - CircuitBreaker.Type - Enum in org.opensearch.core.common.breaker
-
The type of breaker can be
CircuitBreaker.Type.MEMORY,CircuitBreaker.Type.PARENT, orCircuitBreaker.Type.NOOP - CircuitBreakerService - Class in org.opensearch.core.indices.breaker
-
Interface for Circuit Breaker services, which provide breakers to classes that load field data.
- CircuitBreakerService() - Constructor for class org.opensearch.core.indices.breaker.CircuitBreakerService
- CircuitBreakerStats - Class in org.opensearch.core.indices.breaker
-
Class encapsulating stats about the
CircuitBreaker - CircuitBreakerStats(String, long, long, double, long) - Constructor for class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Constructs new instance
- CircuitBreakerStats(StreamInput) - Constructor for class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Constructs new instance from the
StreamInput - CircuitBreakingException - Exception Class in org.opensearch.core.common.breaker
-
Exception thrown when the circuit breaker trips
- CircuitBreakingException(String, long, long, CircuitBreaker.Durability) - Constructor for exception class org.opensearch.core.common.breaker.CircuitBreakingException
- CircuitBreakingException(String, CircuitBreaker.Durability) - Constructor for exception class org.opensearch.core.common.breaker.CircuitBreakingException
- CircuitBreakingException(StreamInput) - Constructor for exception class org.opensearch.core.common.breaker.CircuitBreakingException
- cleanTruncate(String, int) - Static method in class org.opensearch.core.common.Strings
-
Truncates string to a length less than length.
- clone() - Method in class org.opensearch.core.common.settings.SecureString
-
Returns a new copy of this object that is backed by its own char array.
- close() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- close() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- close() - Method in class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- close() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- close() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- close() - Method in class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
- close() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Closes the stream to further operations.
- close() - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Closes this stream to further operations.
- close() - Method in class org.opensearch.core.common.settings.SecureString
-
Closes the string by clearing the underlying char array.
- close() - Method in class org.opensearch.core.xcontent.MapXContentParser
- close() - Method in class org.opensearch.core.xcontent.XContentBuilder
- close() - Method in class org.opensearch.core.xcontent.XContentSubParser
- collectionToCommaDelimitedString(Iterable<?>) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to return a Collection as a CSV String.
- collectionToDelimitedString(Iterable<?>, String) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to return a Collection as a delimited (e.g.
- collectionToDelimitedString(Iterable<?>, String, String, String) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to return a Collection as a delimited (e.g.
- collectionToDelimitedString(Iterable<?>, String, String, String, StringBuilder) - Static method in class org.opensearch.core.common.Strings
- CollectionUtils - Class in org.opensearch.core.common.util
-
Collections-related utility methods.
- CollectionUtils() - Constructor for class org.opensearch.core.common.util.CollectionUtils
- columnNumber - Variable in class org.opensearch.core.xcontent.XContentLocation
- commaDelimitedListToSet(String) - Static method in class org.opensearch.core.common.Strings
-
Convenience method to convert a CSV string list to a set.
- commaDelimitedListToStringArray(String) - Static method in class org.opensearch.core.common.Strings
-
Convert a CSV list into an array of Strings.
- CommonFields() - Constructor for class org.opensearch.core.ParseField.CommonFields
- compareMajor(Version) - Method in class org.opensearch.Version
- compareTo(BytesReference) - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- compareTo(Text) - Method in class org.opensearch.core.common.text.Text
- compareTo(ByteSizeValue) - Method in class org.opensearch.core.common.unit.ByteSizeValue
- compareTo(ShardId) - Method in class org.opensearch.core.index.shard.ShardId
-
Compares this ShardId with the specified ShardId.
- compareTo(Version) - Method in class org.opensearch.Version
- compile(Set<String>) - Static method in class org.opensearch.core.xcontent.filtering.FilterPath
- completeWith(ActionListener<Response>, CheckedSupplier<Response, ? extends Exception>) - Static method in interface org.opensearch.core.action.ActionListener
-
Completes the given listener with the result from the provided supplier accordingly.
- CompositeBytesReference - Class in org.opensearch.core.common.bytes
-
A composite
BytesReferencethat allows joining multiple bytes references into one without copying. - compress(BytesReference) - Method in interface org.opensearch.core.compress.Compressor
-
Compress bytes into a newly allocated buffer.
- compress(BytesReference) - Method in class org.opensearch.core.compress.NoneCompressor
- compressor(BytesReference) - Static method in class org.opensearch.core.compress.CompressorRegistry
- Compressor - Interface in org.opensearch.core.compress
-
Compressor interface used for compressing
MediaTypeandorg.opensearch.repositories.blobstore.BlobStoreRepositoryimplementations. - compressorForWritable(BytesReference) - Static method in class org.opensearch.core.compress.CompressorRegistry
- CompressorProvider - Interface in org.opensearch.core.compress.spi
-
Service Provider Interface for plugins, modules, extensions providing custom compression algorithms
- CompressorRegistry - Class in org.opensearch.core.compress
-
A registry that wraps a static Map singleton which holds a mapping of unique String names (typically the compressor header as a string) to registerd
Compressorimplementations. - computeID(int, int, int, int) - Static method in class org.opensearch.Version
- computeLegacyID(int, int, int, int) - Static method in class org.opensearch.Version
- computeMinCompatVersion() - Method in class org.opensearch.Version
- CONFLICT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request could not be completed due to a conflict with the current state of the resource.
- ConstructingObjectParser<Value,
Context> - Class in org.opensearch.core.xcontent -
Like
ObjectParserbut 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.opensearch.core.xcontent.ConstructingObjectParser
-
Build the parser.
- ConstructingObjectParser(String, boolean, Function<Object[], Value>) - Constructor for class org.opensearch.core.xcontent.ConstructingObjectParser
-
Build the parser.
- ConstructingObjectParser(String, Function<Object[], Value>) - Constructor for class org.opensearch.core.xcontent.ConstructingObjectParser
-
Build the parser.
- constructorArg() - Static method in class org.opensearch.core.xcontent.ConstructingObjectParser
-
Pass the BiConsumer this returns the declare methods to declare a required constructor argument.
- contentBuilder() - Method in interface org.opensearch.core.xcontent.MediaType
- contentBuilder(OutputStream) - Method in interface org.opensearch.core.xcontent.MediaType
- contentBuilder(MediaType) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
Returns a binary content builder for the provided content type.
- contentBuilder(MediaType, OutputStream) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
- contentType() - Method in class org.opensearch.core.xcontent.MapXContentParser
- contentType() - Method in class org.opensearch.core.xcontent.XContentBuilder
- contentType() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- contentType() - Method in interface org.opensearch.core.xcontent.XContentParser
- contentType() - Method in class org.opensearch.core.xcontent.XContentSubParser
- ContextParser<Context,
T> - Interface in org.opensearch.core.xcontent -
Reads an object from a parser using some context.
- CONTINUE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The client SHOULD continue with its request.
- convertFromStringArray(String[]) - Static method in class org.opensearch.core.common.text.Text
- convertToOpenSearchException(Exception) - Static method in class org.opensearch.ExceptionsHelper
- convertToRuntime(Exception) - Static method in class org.opensearch.ExceptionsHelper
- copyCurrentEvent(XContentParser) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- copyCurrentStructure(XContentParser) - Method in class org.opensearch.core.xcontent.XContentBuilder
- copyCurrentStructure(XContentParser) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- copyMap(Map<R, T>) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Returns an unmodifiable copy of the given map.
- CPU - Enum constant in enum org.opensearch.core.tasks.resourcetracker.ResourceStats
- CREATED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request has been fulfilled and resulted in a new resource being created.
- createGenerator(OutputStream) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a new generator using the provided output stream.
- createGenerator(OutputStream, Set<String>, Set<String>) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a new generator using the provided output stream and some inclusive and/or exclusive filters.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[]) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, byte[], int, int) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a parser over the provided bytes.
- createParser(NamedXContentRegistry, DeprecationHandler, InputStream) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a parser over the provided input stream.
- createParser(NamedXContentRegistry, DeprecationHandler, Reader) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a parser over the provided reader.
- createParser(NamedXContentRegistry, DeprecationHandler, String) - Method in interface org.opensearch.core.xcontent.XContent
-
Creates a parser over the provided string content.
- CURRENT - Static variable in class org.opensearch.Build
-
The current build of OpenSearch.
- CURRENT - Static variable in class org.opensearch.Version
- currentName() - Method in class org.opensearch.core.xcontent.MapXContentParser
- currentName() - Method in interface org.opensearch.core.xcontent.XContentParser
- currentName() - Method in class org.opensearch.core.xcontent.XContentSubParser
- currentToken() - Method in class org.opensearch.core.xcontent.MapXContentParser
- currentToken() - Method in interface org.opensearch.core.xcontent.XContentParser
- currentToken() - Method in class org.opensearch.core.xcontent.XContentSubParser
D
- DataOutputStreamOutput - Class in org.opensearch.core.common.io.stream
-
Main stream output for data output
- DataOutputStreamOutput(DataOutput) - Constructor for class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- date() - Method in class org.opensearch.Build
- DEB - Enum constant in enum org.opensearch.Build.Type
- declareBoolean(BiConsumer<Value, Boolean>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareDouble(BiConsumer<Value, Double>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareDoubleArray(BiConsumer<Value, List<Double>>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareDoubleOrNull(BiConsumer<Value, Double>, double, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare a double field that parses explicit
nulls in the json to a default value. - declareExclusiveFieldSet(String...) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declares a set of fields of which at most one must appear for parsing to succeed
- declareExclusiveFieldSet(String...) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- declareExclusiveFieldSet(String...) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareExclusiveFieldSet(String...) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareField(BiConsumer<Value, T>, CheckedFunction<XContentParser, T, IOException>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare some field.
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareField(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareField(ObjectParser.Parser<Value, Context>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareFieldArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField, ObjectParser.ValueType) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declares a field that can contain an array of elements listed in the type ValueType enum
- declareFields(ConstructingObjectParser<T, Void>) - Static method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- declareFloat(BiConsumer<Value, Float>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareFloatArray(BiConsumer<Value, List<Float>>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareFloatOrNull(BiConsumer<Value, Float>, float, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare a float field that parses explicit
nulls in the json to a default value. - declareInt(BiConsumer<Value, Integer>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareIntArray(BiConsumer<Value, List<Integer>>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareIntOrNull(BiConsumer<Value, Integer>, int, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare a double field that parses explicit
nulls in the json to a default value. - declareLong(BiConsumer<Value, Long>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareLongArray(BiConsumer<Value, List<Long>>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareLongOrNull(BiConsumer<Value, Long>, long, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declares a single named object.
- declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareNamedObject(BiConsumer<Value, T>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.opensearch.core.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.opensearch.core.xcontent.ConstructingObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, Consumer<Value>, ParseField) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declares named objects in the style of aggregations.
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareNamedObjects(BiConsumer<Value, List<T>>, ObjectParser.NamedObjectParser<T, Context>, ParseField) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareObject(BiConsumer<Value, T>, ContextParser<Context, T>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareObjectArray(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareObjectArrayOrNull(BiConsumer<Value, List<T>>, ContextParser<Context, T>, ParseField) - Method in class org.opensearch.core.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.opensearch.core.xcontent.ObjectParser
- declareObjectOrNull(BiConsumer<Value, T>, ContextParser<Context, T>, T, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare an object field that parses explicit
nulls in the json to a default value. - declareRawObject(AbstractObjectParser<Value, Context>, BiConsumer<Value, BytesReference>, ParseField) - Method in class org.opensearch.core.xcontent.ObjectParserHelper
-
Helper to declare an object that will be parsed into a
BytesReference - declareRequiredFieldSet(String...) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declares a set of fields that are required for parsing to succeed.
- declareRequiredFieldSet(String...) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- declareRequiredFieldSet(String...) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- declareRequiredFieldSet(String...) - Method in class org.opensearch.core.xcontent.ObjectParser
- declareString(BiConsumer<Value, String>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareString(BiConsumer<Value, T>, Function<String, T>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
-
Declare a field of type
Tparsed from string and converted toTusing provided function. - declareStringArray(BiConsumer<Value, List<String>>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- declareStringOrNull(BiConsumer<Value, String>, ParseField) - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- DEFAULT - Enum constant in enum org.opensearch.semver.SemverRange.RangeOperator
- DEFAULT_NUMBER_COERCE_POLICY - Static variable in class org.opensearch.core.xcontent.AbstractXContentParser
- defaultCompressor() - Static method in class org.opensearch.core.compress.CompressorRegistry
-
Returns the default compressor
- DefaultCompressorProvider - Class in org.opensearch.core.compress.spi
-
Default
Compressorimplementations provided by the opensearch core library - DefaultCompressorProvider() - Constructor for class org.opensearch.core.compress.spi.DefaultCompressorProvider
- DefaultShardOperationFailedException - Class in org.opensearch.core.action.support
-
Exception for a default shard operation
- DefaultShardOperationFailedException() - Constructor for class org.opensearch.core.action.support.DefaultShardOperationFailedException
- DefaultShardOperationFailedException(String, int, Throwable) - Constructor for class org.opensearch.core.action.support.DefaultShardOperationFailedException
- DefaultShardOperationFailedException(StreamInput) - Constructor for class org.opensearch.core.action.support.DefaultShardOperationFailedException
- DefaultShardOperationFailedException(OpenSearchException) - Constructor for class org.opensearch.core.action.support.DefaultShardOperationFailedException
- delegate - Variable in class org.opensearch.core.common.io.stream.FilterStreamInput
- delegateFailure(ActionListener<R>, BiConsumer<ActionListener<R>, T>) - Static method in interface org.opensearch.core.action.ActionListener
-
Creates a listener that delegates all exceptions it receives to another listener.
- delegateResponse(ActionListener<T>, BiConsumer<ActionListener<T>, Exception>) - Static method in interface org.opensearch.core.action.ActionListener
-
Creates a listener that delegates all responses it receives to another listener.
- DelegatingMapParams(Map<String, String>, ToXContent.Params) - Constructor for class org.opensearch.core.xcontent.ToXContent.DelegatingMapParams
- delete(String, String) - Static method in class org.opensearch.core.common.Strings
-
Delete all occurrences of the given substring.
- deleteAny(String, String) - Static method in class org.opensearch.core.common.Strings
-
Delete any character in a given String.
- deleteSubDirectories(Path...) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Deletes all subdirectories in the given path recursively
- delimitedListToStringArray(String, String) - Static method in class org.opensearch.core.common.Strings
-
Take a String which is a delimited list and convert it to a String array.
- delimitedListToStringArray(String, String, String) - Static method in class org.opensearch.core.common.Strings
-
Take a String which is a delimited list and convert it to a String array.
- DeprecationHandler - Interface in org.opensearch.core.xcontent
-
Callback for notifying the creator of the
XContentParserthat parsing hit a deprecated field. - detailedMessage(Throwable) - Static method in class org.opensearch.ExceptionsHelper
-
Deprecated.Don't swallow exceptions, allow them to propagate.
- detectedXContent(byte[], int, int) - Method in interface org.opensearch.core.xcontent.MediaType
- detectedXContent(CharSequence, int) - Method in interface org.opensearch.core.xcontent.MediaType
- displayName() - Method in enum org.opensearch.Build.Type
- doBigIntegerValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doBigIntegerValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doBooleanValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doBooleanValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- DOCKER - Enum constant in enum org.opensearch.Build.Type
- doClose() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- doDoubleValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doDoubleValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doFloatValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doFloatValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doIntValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doIntValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doLongValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doLongValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doShortValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doShortValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- doStart() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- doStop() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- DOUBLE - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- DOUBLE - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- DOUBLE_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- DOUBLE_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- doubleValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doubleValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- doubleValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- doubleValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- doubleValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- doubleValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
E
- eagerPartition(List<E>, int) - Static method in class org.opensearch.core.common.util.CollectionUtils
- Empty() - Constructor for class org.opensearch.core.transport.TransportResponse.Empty
- EMPTY - Static variable in class org.opensearch.core.common.bytes.BytesArray
- EMPTY - Static variable in class org.opensearch.core.xcontent.NamedXContentRegistry
-
The empty
NamedXContentRegistryfor use when you are sure that you aren't going to callXContentParser.namedObject(Class, String, Object). - EMPTY_ARRAY - Static variable in class org.opensearch.core.common.Strings
- EMPTY_ARRAY - Static variable in class org.opensearch.core.common.text.Text
- EMPTY_ARRAY - Static variable in class org.opensearch.core.index.Index
- EMPTY_PARAMS - Static variable in interface org.opensearch.core.xcontent.ToXContent
- EMPTY_TASK_ID - Static variable in class org.opensearch.core.tasks.TaskId
- ENABLED - Static variable in class org.opensearch.core.Assertions
- END_ARRAY - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- END_OBJECT - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- endArray() - Method in class org.opensearch.core.xcontent.XContentBuilder
- endObject() - Method in class org.opensearch.core.xcontent.XContentBuilder
- ensureCanReadBytes(int) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- ensureCanReadBytes(int) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- ensureCanReadBytes(int) - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- ensureCanReadBytes(int) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- ensureCanReadBytes(int) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
This method throws an
EOFExceptionif the given number of bytes can not be read from the this stream. - ensureExpectedToken(XContentParser.Token, XContentParser.Token, XContentParser) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
-
Makes sure that provided token is of the expected type
- ensureFieldName(XContentParser, XContentParser.Token, String) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
-
Makes sure that current token is of type
XContentParser.Token.FIELD_NAMEand the field name is equal to the provided one - ensureNameNotNull(String) - Static method in class org.opensearch.core.xcontent.XContentBuilder
- ensureNoSelfReferences(Object, String) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Deeply inspects a Map, Iterable, or Object array looking for references back to itself.
- ensureNotNull(Object, String) - Static method in class org.opensearch.core.xcontent.XContentBuilder
- Entry(Class<T>, String, Writeable.Reader<? extends T>) - Constructor for class org.opensearch.core.common.io.stream.NamedWriteableRegistry.Entry
-
Creates a new entry which can be stored by the registry.
- Entry(Class<T>, ParseField, CheckedFunction<XContentParser, ? extends T, IOException>) - Constructor for class org.opensearch.core.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.opensearch.core.xcontent.NamedXContentRegistry.Entry
-
Creates a new entry which can be stored by the registry.
- eof() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- EQ - Enum constant in enum org.opensearch.semver.SemverRange.RangeOperator
- Equal - Class in org.opensearch.semver.expr
-
Expression to evaluate equality of versions.
- Equal() - Constructor for class org.opensearch.semver.expr.Equal
- equals(Object) - Method in class org.opensearch.Build
- equals(Object) - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- equals(Object) - Method in class org.opensearch.core.common.bytes.BytesArray
- equals(Object) - Method in class org.opensearch.core.common.settings.SecureString
-
Constant time equality to avoid potential timing attacks.
- equals(Object) - Method in class org.opensearch.core.common.text.Text
- equals(Object) - Method in class org.opensearch.core.common.transport.TransportAddress
- equals(Object) - Method in class org.opensearch.core.common.unit.ByteSizeValue
- equals(Object) - Method in class org.opensearch.core.index.Index
-
Checks if this index is the same as another index by comparing the name and unique identifier.
- equals(Object) - Method in class org.opensearch.core.index.shard.ShardId
- equals(Object) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- equals(Object) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- equals(Object) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- equals(Object) - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- equals(Object) - Method in class org.opensearch.core.tasks.TaskId
- equals(Object) - Method in class org.opensearch.semver.SemverRange
- equals(Object) - Method in class org.opensearch.Version
- errorMessage(String, String, Iterable<String>) - Method in interface org.opensearch.core.xcontent.ErrorOnUnknown
-
Build the error message to use when
ObjectParserencounters an unknown field. - ErrorOnUnknown - Interface in org.opensearch.core.xcontent
-
Extension point to customize the error message for unknown fields.
- eval(String, Object) - Static method in class org.opensearch.core.xcontent.ObjectPath
-
Return the value within a given object at the specified path, or
nullif the path does not exist - evaluate(Version, Version) - Method in class org.opensearch.semver.expr.Caret
-
Checks if the given version is compatible with the range version allowing for minor and patch version variability.
- evaluate(Version, Version) - Method in class org.opensearch.semver.expr.Equal
-
Checks if a given version matches a certain range version.
- evaluate(Version, Version) - Method in interface org.opensearch.semver.expr.Expression
-
Evaluates an expression.
- evaluate(Version, Version) - Method in class org.opensearch.semver.expr.Tilde
-
Checks if the given version is compatible with a range version allowing for patch version variability.
- ExceptionsHelper - Class in org.opensearch
-
Helper class for OpenSearch Exceptions
- exists(Path...) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Returns
trueiff one of the files exists otherwisefalse - EXPECTATION_FAILED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The expectation given in an Expect request-header field (see section 14.20) could not be met by this server, or, if the server is a proxy, the server has unambiguous evidence that the request could not be met by the next-hop server.
- Expression - Interface in org.opensearch.semver.expr
-
An evaluation expression.
F
- FAILED_DEPENDENCY - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The 424 (Failed Dependency) status code means that the method could not be performed on the resource because the requested action depended on another action and that action failed.
- failOnTooManyNestedExceptions(Throwable) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- failureFromXContent(XContentParser) - Static method in exception class org.opensearch.OpenSearchException
- field(String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, boolean) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, byte) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, byte[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, byte[], int, int) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, float) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, int) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, long) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, short) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Boolean) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Byte) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Float) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Integer) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Iterable<?>) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Long) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Object) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Short) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, BigDecimal) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, BigInteger) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, Map<String, Object>) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, ToXContent) - Method in class org.opensearch.core.xcontent.XContentBuilder
- field(String, ToXContent, ToXContent.Params) - Method in class org.opensearch.core.xcontent.XContentBuilder
- FIELD - Static variable in class org.opensearch.core.ParseField.CommonFields
- FIELD_NAME - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- FIELDDATA - Static variable in interface org.opensearch.core.common.breaker.CircuitBreaker
-
The fielddata breaker tracks data used for fielddata (on fields) as well as the id cached used for parent/child queries.
- FIELDS - Static variable in class org.opensearch.core.ParseField.CommonFields
- files(Path) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Returns an array of all files in the given directory.
- files(Path, String) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Returns an array of all files in the given directory matching the glob.
- files(Path, DirectoryStream.Filter<Path>) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Returns an array of all files in the given directory matching.
- FileSystemUtils - Class in org.opensearch.core.util
-
OpenSearch utils to work with
Path - fill(long, long, byte) - Method in interface org.opensearch.core.common.util.ByteArray
-
Fill slots between
fromIndexinclusive totoIndexexclusive withvalue. - FilterPath - Class in org.opensearch.core.xcontent.filtering
-
Filters a content path
- FilterPath(String, String, FilterPath) - Constructor for class org.opensearch.core.xcontent.filtering.FilterPath
- FilterPathBasedFilter - Class in org.opensearch.core.xcontent.filtering
-
Concrete filter for a content path
- FilterPathBasedFilter(Set<String>, boolean) - Constructor for class org.opensearch.core.xcontent.filtering.FilterPathBasedFilter
- FilterPathBasedFilter(FilterPath[], boolean) - Constructor for class org.opensearch.core.xcontent.filtering.FilterPathBasedFilter
- FilterStreamInput - Class in org.opensearch.core.common.io.stream
-
Wraps a
StreamInputand delegates to it. - FilterStreamInput(StreamInput) - Constructor for class org.opensearch.core.common.io.stream.FilterStreamInput
- findImplementation() - Static method in interface org.opensearch.core.xcontent.ErrorOnUnknown
- FLOAT - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- FLOAT - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- FLOAT_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- FLOAT_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- floatValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- floatValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- floatValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- floatValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- floatValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- floatValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
- flush() - Method in class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- flush() - Method in class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
- flush() - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Forces any buffered output to be written.
- flush() - Method in class org.opensearch.core.xcontent.XContentBuilder
- FORBIDDEN - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server understood the request, but is refusing to fulfill it.
- format() - Method in interface org.opensearch.core.xcontent.MediaType
-
Returns a corresponding format for a MediaType.
- format(String, Object...) - Static method in class org.opensearch.core.common.logging.LoggerMessageFormat
- format(String, String, Object...) - Static method in class org.opensearch.core.common.logging.LoggerMessageFormat
-
(this is almost a copy of
org.slf4j.helpers.MessageFormatter.arrayFormat) - FORMAT - Static variable in class org.opensearch.core.ParseField.CommonFields
- format1Decimals(double, String) - Static method in class org.opensearch.core.common.Strings
-
Format the double value with a single decimal points, trimming trailing '.0'.
- formatStackTrace(StackTraceElement[]) - Static method in class org.opensearch.ExceptionsHelper
- FOUND - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource resides temporarily under a different URI.
- fromBuilder(String, Function<Context, Value>) - Static method in class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser.
- fromByteArray(ByteArray, int) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns BytesReference either wrapping the provided
ByteArrayor in case the has a backing raw byte array one that wraps that backing array directly. - fromByteBuffer(ByteBuffer) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns BytesReference composed of the provided ByteBuffer.
- fromByteBuffers(ByteBuffer[]) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns BytesReference composed of the provided ByteBuffers.
- fromCode(int) - Static method in enum org.opensearch.core.rest.RestStatus
-
Turn a status code into a
RestStatus, returning null if we don't know that status. - fromDisplayName(String, boolean) - Static method in enum org.opensearch.Build.Type
- fromFormat(String) - Static method in interface org.opensearch.core.xcontent.MediaType
-
Accepts a format string, which is most of the time is equivalent to
MediaType.subtype()and attempts to match the value to anMediaType. - fromFormat(String) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
- fromId(int) - Static method in enum org.opensearch.core.common.unit.ByteSizeUnit
- fromId(int) - Static method in class org.opensearch.Version
- fromList(Class<ElementValue>, BiConsumer<Value, ElementValue[]>) - Static method in class org.opensearch.core.xcontent.ObjectParser
-
Adapts an array (or varags) setter into a list setter.
- fromMediaType(String) - Static method in interface org.opensearch.core.xcontent.MediaType
-
Attempts to match the given media type with the known
MediaTypevalues. - fromMediaType(String) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
- fromRange(String) - Static method in enum org.opensearch.semver.SemverRange.RangeOperator
- fromString(String) - Static method in class org.opensearch.core.index.shard.ShardId
-
Parse the string representation of this shardId back to an object.
- fromString(String) - Static method in class org.opensearch.LegacyESVersion
-
Returns the version given its string representation, current version if the argument is null or empty
- fromString(String) - Static method in class org.opensearch.semver.SemverRange
-
Constructs a
SemverRangefrom its string representation. - fromString(String) - Static method in class org.opensearch.Version
-
Returns the version given its string representation, current version if the argument is null or empty
- fromXContent(XContentParser) - Static method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- fromXContent(XContentParser) - Static method in class org.opensearch.core.index.Index
- fromXContent(XContentParser) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- fromXContent(XContentParser) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- fromXContent(XContentParser) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- fromXContent(XContentParser) - Static method in exception class org.opensearch.OpenSearchException
-
Generate a
OpenSearchExceptionfrom aXContentParser.
G
- GATEWAY_TIMEOUT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g.
- GB - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
- generateFailureXContent(XContentBuilder, ToXContent.Params, Exception, boolean) - Static method in exception class org.opensearch.OpenSearchException
-
Render any exception as a xcontent, encapsulated within a field or object named "error".
- generateThrowableXContent(XContentBuilder, ToXContent.Params, Throwable) - Static method in exception class org.opensearch.OpenSearchException
-
Static toXContent helper method that renders
OpenSearchExceptionorThrowableinstances as XContent, delegating the rendering toOpenSearchException.toXContent(XContentBuilder, ToXContent.Params)orOpenSearchException.innerToXContent(XContentBuilder, ToXContent.Params, Throwable, String, String, Map, Map, Throwable). - generator() - Method in class org.opensearch.core.xcontent.XContentBuilder
- get(int) - Method in class org.opensearch.core.common.bytes.BytesArray
- get(int) - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns the byte at the specified index.
- get(int) - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- get(int) - Method in class org.opensearch.core.common.bytes.PagedBytesReference
- get(long) - Method in interface org.opensearch.core.common.util.ByteArray
-
Get an element given its index.
- get(long, int, BytesRef) - Method in interface org.opensearch.core.common.util.ByteArray
-
Get a reference to a slice.
- getAction() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Get task action
- getActiveThreads() - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- getAdditionalMediaTypes() - Method in interface org.opensearch.core.xcontent.spi.MediaTypeProvider
-
Extensions that implement additional
MediaTypealiases provide them through this interface method - getAddress() - Method in class org.opensearch.core.common.transport.TransportAddress
-
Returns a string representation of the enclosed
InetSocketAddress - getAllNamesIncludedDeprecated() - Method in class org.opensearch.core.ParseField
- getAllReplacedWith() - Method in class org.opensearch.core.ParseField
- getAllStats() - Method in class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
-
Returns inner stats instances for all circuit breakers
- getBaseRamBytesUsed() - Method in class org.opensearch.core.index.shard.ShardId
- getBreaker(String) - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- getBreaker(String) - Method in class org.opensearch.core.indices.breaker.NoneCircuitBreakerService
-
Returns a breaker that use the NoopCircuitBreaker and never breaks
- getByteLimit() - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
- getBytes() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getBytesWanted() - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
- getCandidates() - Method in exception class org.opensearch.core.xcontent.NamedObjectNotFoundException
-
The possible matches.
- getCause() - Method in class org.opensearch.core.action.ShardOperationFailedException
-
The cause of this failure
- getCause() - Method in interface org.opensearch.OpenSearchWrapperException
- getChars() - Method in class org.opensearch.core.common.settings.SecureString
-
Returns the underlying char[].
- getColumnNumber() - Method in exception class org.opensearch.core.common.ParsingException
-
Column number of the location of the error
- getColumnNumber() - Method in exception class org.opensearch.core.xcontent.XContentParseException
- getCompressor(String) - Static method in class org.opensearch.core.compress.CompressorRegistry
-
Returns a registered compressor by its registered name
- getCompressors() - Method in interface org.opensearch.core.compress.spi.CompressorProvider
-
Extensions that implement their own concrete
Compressors provide them through this interface method - getCompressors() - Method in class org.opensearch.core.compress.spi.DefaultCompressorProvider
-
Returns the default
Compressors provided by the core library - getCpuTimeInNanos() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- getCustomClassFromInstance(Object) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
- getDateTransformers() - Method in interface org.opensearch.core.xcontent.XContentBuilderExtension
-
Used for plugging a transformer for a date or time type object into a String (or other encodable object).
- getDeclaredVersions(Class<?>) - Static method in class org.opensearch.Version
-
Extracts a sorted list of declared version constants from a class.
- getDefaultMediaType() - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
- getDeprecatedNames() - Method in class org.opensearch.core.ParseField
- getDeprecationHandler() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- getDeprecationHandler() - Method in interface org.opensearch.core.xcontent.XContentParser
-
The callback to notify when parsing encounters a deprecated field.
- getDeprecationHandler() - Method in class org.opensearch.core.xcontent.XContentSubParser
- getDetailedMessage() - Method in exception class org.opensearch.OpenSearchException
-
Return the detail message, including the message from the nested exception if there is one.
- getDistribution() - Method in class org.opensearch.Build
-
Get the distribution name (expected to be OpenSearch; empty if legacy; something else if forked)
- getDurability() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
-
Returns the
CircuitBreaker.Durabilityof this breaker - getDurability() - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
- getDurability() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
A noop breaker
CircuitBreaker.Durabilityis alwaysCircuitBreaker.Durability.PERMANENT - getEstimated() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns the estimated size in byte of the breaker
- getExceptionName() - Method in exception class org.opensearch.core.common.io.stream.NotSerializableExceptionWrapper
- getExceptionName() - Method in exception class org.opensearch.OpenSearchException
- getExceptionName(Throwable) - Static method in exception class org.opensearch.OpenSearchException
-
Returns an underscore case name for the given exception.
- getExceptionSimpleClassName(Throwable) - Static method in exception class org.opensearch.OpenSearchException
- getFeatures() - Method in class org.opensearch.core.common.io.stream.StreamOutput
- getGb() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getGbFrac() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getHeader(String) - Method in exception class org.opensearch.OpenSearchException
-
Returns the list of header values for the given key or
nullif no header for the given key exists. - getHeaderKeys() - Method in exception class org.opensearch.OpenSearchException
-
Returns a set of all header keys on this exception
- getHeaders() - Method in exception class org.opensearch.OpenSearchException
- getId() - Method in class org.opensearch.core.index.shard.ShardId
-
Returns the shard id of this shard id.
- getId() - Method in class org.opensearch.core.tasks.TaskId
- getId(Class<? extends OpenSearchException>) - Static method in exception class org.opensearch.OpenSearchException
-
Returns the serialization id the given exception.
- getId(Class<? extends OpenSearchException>) - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
Gets the unique ordinal id of the Exception from the given class
- getIndex() - Method in class org.opensearch.core.index.shard.ShardId
-
Returns the index of this shard id.
- getIndex() - Method in exception class org.opensearch.OpenSearchException
- getIndexName() - Method in class org.opensearch.core.index.shard.ShardId
-
Returns the name of the index of this shard id.
- getInt(int) - Method in class org.opensearch.core.common.bytes.BytesArray
- getInt(int) - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns the integer read from the 4 bytes (big endian) starting at the given index.
- getKb() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getKbFrac() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getLimit() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
- getLimit() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
A noop breaker have a constant limit of -1
- getLimit() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns the limit size in byte of the circuit breaker
- getLineNumber() - Method in exception class org.opensearch.core.common.ParsingException
-
Line number of the location of the error
- getLineNumber() - Method in exception class org.opensearch.core.xcontent.XContentParseException
- getLocation() - Method in exception class org.opensearch.core.xcontent.XContentParseException
- getMaxUTF16Length() - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- getMb() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getMbFrac() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getMediaType() - Method in class org.opensearch.core.xcontent.MediaTypeRegistry.ParsedMediaType
- getMediaTypes() - Method in interface org.opensearch.core.xcontent.spi.MediaTypeProvider
-
Extensions that implement their own concrete
MediaTypes provide them through this interface method - getMemoryInBytes() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- getMessage() - Method in exception class org.opensearch.core.xcontent.XContentParseException
- getMetadata() - Method in exception class org.opensearch.OpenSearchException
- getMetadata(String) - Method in exception class org.opensearch.OpenSearchException
-
Returns the list of metadata values for the given key or
nullif no metadata for the given key exists. - getMetadataKeys() - Method in exception class org.opensearch.OpenSearchException
-
Returns a set of all metadata keys on this exception
- getMinimalSupportedVersion() - Method in interface org.opensearch.core.common.io.stream.VersionedNamedWriteable
-
The minimal version of the recipient this object can be sent to
- getName() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
- getName() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
return the name of this breaker
- getName() - Method in class org.opensearch.core.index.Index
-
Gets the name of the index.
- getName() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns the name of the circuit breaker
- getName() - Method in class org.opensearch.core.xcontent.AbstractObjectParser
- getName() - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- getName() - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser.Builder
- getName() - Method in class org.opensearch.core.xcontent.ObjectParser
-
Get the name of the parser.
- getNodeId() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Get node id
- getNodeId() - Method in class org.opensearch.core.tasks.TaskId
- getOutputStream() - Method in class org.opensearch.core.xcontent.XContentBuilder
- getOverhead() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
- getOverhead() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
A noop breaker have no overhead, always return 0
- getOverhead() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns the overhead of the breaker
- getParameters() - Method in class org.opensearch.core.xcontent.MediaTypeRegistry.ParsedMediaType
- getParentTaskId() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Get parent task id
- getPb() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getPbFrac() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getPort() - Method in class org.opensearch.core.common.transport.TransportAddress
-
Returns the addresses port
- getPosition() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- getPreferredName() - Method in class org.opensearch.core.ParseField
- getQualifiedVersion() - Method in class org.opensearch.Build
-
Get the version as considered at build time
- getRangeOperator() - Method in class org.opensearch.semver.SemverRange
-
Return the range operator for this range.
- getRangeVersion() - Method in class org.opensearch.semver.SemverRange
-
Return the version for this range.
- getReader(byte) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
-
Returns the ristered reader keyed by the unique ordinal
- getReader(Class<T>, String) - Method in class org.opensearch.core.common.io.stream.NamedWriteableRegistry
-
Returns a reader for a
NamedWriteableobject identified by the name provided as argument and its category. - getRegisteredKeys() - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
returns a set of registered exception classes
- getResourceId() - Method in exception class org.opensearch.OpenSearchException
- getResourceType() - Method in exception class org.opensearch.OpenSearchException
- getResourceUsageInfo() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- getResourceUsageInfo() - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- getRootCause() - Method in exception class org.opensearch.OpenSearchException
-
Retrieve the innermost cause of this exception, if none, returns the current exception.
- getShardId() - Method in exception class org.opensearch.OpenSearchException
- getStartValue() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo.ResourceStatsInfo
- getStats() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageMetric
- getStats(String) - Method in class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
-
Returns the stats for a specific circuit breaker
- getStatsInfo() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo
- getStatsType() - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- getStatus() - Method in enum org.opensearch.core.rest.RestStatus
- getStatusFamilyCode() - Method in enum org.opensearch.core.rest.RestStatus
-
Get category class of a rest status code.
- getStringRep() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getSuffix() - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- getSupplier(int) - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
returns the Exception constructor function from a given ordinal
- getTaskId() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Get task id
- getTaskResourceUsage() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Get TaskResourceUsage
- getTb() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getTbFrac() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- getThreadExecutions() - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- getThreadId() - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- getThreadUsage() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- getTokenLocation() - Method in class org.opensearch.core.xcontent.MapXContentParser
- getTokenLocation() - Method in interface org.opensearch.core.xcontent.XContentParser
-
Used for error reporting to highlight where syntax errors occur in content being parsed.
- getTokenLocation() - Method in class org.opensearch.core.xcontent.XContentSubParser
- getTotalValue() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo.ResourceStatsInfo
- getTrippedCount() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
- getTrippedCount() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
A noop breaker never trip, always return 0
- getTrippedCount() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns the number of times the breaker has been tripped
- getUsed() - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
- getUsed() - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
This is a noop, always return 0
- getUUID() - Method in class org.opensearch.core.index.Index
-
Gets the unique identifier of the index.
- getValue() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageMetric
- getVersion() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- getVersion() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
The version of the node on the other side of this stream.
- getVersion() - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
The version of the node on the other side of this stream.
- getWriteableName() - Method in interface org.opensearch.core.common.io.stream.NamedWriteable
-
Returns the name of the writeable object
- getWriteableName() - Method in interface org.opensearch.core.common.io.stream.VersionedNamedWriteable
-
Returns the name of the writeable object
- getWriter(Class<?>) - Static method in class org.opensearch.core.common.io.stream.StreamOutput
-
Returns the registered writer for the given class type.
- getWriter(Class<?>) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
-
Returns the registered writer keyed by the class type
- getXContentHumanReadableTransformers() - Method in interface org.opensearch.core.xcontent.XContentBuilderExtension
-
Used for plugging in a human readable version of a class's encoding.
- getXContentRegistry() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- getXContentRegistry() - Method in interface org.opensearch.core.xcontent.XContentParser
-
The registry used to resolve
XContentParser.namedObject(Class, String, Object). - getXContentRegistry() - Method in class org.opensearch.core.xcontent.XContentSubParser
- getXContentWriters() - Method in interface org.opensearch.core.xcontent.XContentBuilderExtension
-
Used for plugging in a generic writer for a class, for example, an example implementation:
- GONE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource is no longer available at the server and no forwarding address is known.
- groupBy(ShardOperationFailedException[]) - Static method in class org.opensearch.ExceptionsHelper
-
Deduplicate the failures by exception message and index.
- GUESS_HEADER_LENGTH - Static variable in class org.opensearch.core.xcontent.MediaTypeRegistry
- guessRootCauses() - Method in exception class org.opensearch.OpenSearchException
-
Returns the root cause of this exception or multiple if different shards caused different exceptions
- guessRootCauses(Throwable) - Static method in exception class org.opensearch.OpenSearchException
-
Returns the root cause of this exception or multiple if different shards caused different exceptions.
H
- handles() - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
returns a collection of handles
- hasArray() - Method in interface org.opensearch.core.common.util.ByteArray
-
Checks if this instance is backed by a single byte array analogous to
ByteBuffer.hasArray(). - hasBytes() - Method in class org.opensearch.core.common.text.Text
-
Whether a
BytesReferenceview of the data is already materialized. - hasFeature(String) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Test if the stream has the specified feature.
- hash() - Method in class org.opensearch.Build
- hashCode() - Method in class org.opensearch.Build
- hashCode() - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- hashCode() - Method in class org.opensearch.core.common.bytes.BytesArray
- hashCode() - Method in class org.opensearch.core.common.settings.SecureString
- hashCode() - Method in class org.opensearch.core.common.text.Text
- hashCode() - Method in class org.opensearch.core.common.transport.TransportAddress
- hashCode() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- hashCode() - Method in class org.opensearch.core.index.Index
- hashCode() - Method in class org.opensearch.core.index.shard.ShardId
-
Returns the hash code of this shard id.
- hashCode() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- hashCode() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- hashCode() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- hashCode() - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- hashCode() - Method in class org.opensearch.core.tasks.TaskId
- hashCode() - Method in class org.opensearch.semver.SemverRange
- hashCode() - Method in class org.opensearch.Version
- hasLength(CharSequence) - Static method in class org.opensearch.core.common.Strings
-
Check that the given CharSequence is neither
nullnor of length 0. - hasLength(String) - Static method in class org.opensearch.core.common.Strings
-
Check that the given String is neither
nullnor of length 0. - hasLength(BytesReference) - Static method in class org.opensearch.core.common.Strings
-
Check that the given BytesReference is neither
nullnor of length 0 Note: Will returntruefor a BytesReference that purely consists of whitespace. - hasString() - Method in class org.opensearch.core.common.text.Text
-
Whether a
Stringview of the data is already materialized. - hasText(CharSequence) - Static method in class org.opensearch.core.common.Strings
-
Check whether the given CharSequence has actual text.
- hasText(String) - Static method in class org.opensearch.core.common.Strings
-
Check whether the given String has actual text.
- hasTextCharacters() - Method in class org.opensearch.core.xcontent.MapXContentParser
- hasTextCharacters() - Method in interface org.opensearch.core.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.opensearch.core.xcontent.XContentSubParser
- headerLength() - Method in interface org.opensearch.core.compress.Compressor
- headerLength() - Method in class org.opensearch.core.compress.NoneCompressor
- headers - Variable in exception class org.opensearch.OpenSearchException
- headerToXContent(XContentBuilder, String, List<String>) - Static method in exception class org.opensearch.OpenSearchException
- HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
- humanReadable() - Method in class org.opensearch.core.xcontent.XContentBuilder
- humanReadable(boolean) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Set the "human readable" flag.
- humanReadableField(String, String, Object) - Method in class org.opensearch.core.xcontent.XContentBuilder
I
- id - Variable in class org.opensearch.Version
- id() - Method in class org.opensearch.core.index.shard.ShardId
-
Return the shardId of this shard id.
- ids() - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
returns a set of ids
- idToVersion - Static variable in class org.opensearch.LegacyESVersion
- IGNORE_DEPRECATIONS - Static variable in interface org.opensearch.core.xcontent.DeprecationHandler
-
Ignores all deprecations
- IMPLEMENTATION - Static variable in interface org.opensearch.core.xcontent.ErrorOnUnknown
-
The implementation of this interface that was loaded from SPI.
- IN_FLIGHT_REQUESTS - Static variable in interface org.opensearch.core.common.breaker.CircuitBreaker
-
The in-flight request breaker tracks bytes allocated for reading and writing requests on the network layer.
- includeProperty(String) - Method in class org.opensearch.core.xcontent.filtering.FilterPathBasedFilter
- index - Variable in class org.opensearch.core.action.ShardOperationFailedException
- index() - Method in class org.opensearch.core.action.ShardOperationFailedException
-
The index the operation failed on.
- Index - Class in org.opensearch.core.index
-
A value class representing the basic required properties of an OpenSearch index.
- Index(String, String) - Constructor for class org.opensearch.core.index.Index
-
Creates a new Index instance with name and unique identifier
- Index(StreamInput) - Constructor for class org.opensearch.core.index.Index
-
Creates a new Index instance from a
StreamInput. - indexOf(byte, int) - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- indexOf(byte, int) - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Finds the index of the first occurrence of the given marker between within the given bounds.
- indexOf(byte, int) - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- IndexShardSnapshotException - Exception Class in org.opensearch.core.index.snapshots
-
Generic shard snapshot exception
- IndexShardSnapshotException(StreamInput) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotException
- IndexShardSnapshotException(ShardId, String) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotException
- IndexShardSnapshotException(ShardId, String, Throwable) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotException
- IndexShardSnapshotFailedException - Exception Class in org.opensearch.core.index.snapshots
-
Thrown when snapshot process is failed on a shard level
- IndexShardSnapshotFailedException(StreamInput) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotFailedException
- IndexShardSnapshotFailedException(ShardId, String) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotFailedException
- IndexShardSnapshotFailedException(ShardId, String, Throwable) - Constructor for exception class org.opensearch.core.index.snapshots.IndexShardSnapshotFailedException
- info() - Method in interface org.opensearch.core.service.ReportingService
- innerFromXContent(XContentParser, boolean) - Static method in exception class org.opensearch.OpenSearchException
- innerOnFailure(Exception) - Method in class org.opensearch.core.action.NotifyOnceListener
- innerOnResponse(Response) - Method in class org.opensearch.core.action.NotifyOnceListener
- innerToXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- innerToXContent(XContentBuilder, ToXContent.Params, Throwable, String, String, Map<String, List<String>>, Map<String, List<String>>, Throwable) - Static method in exception class org.opensearch.OpenSearchException
- InputStreamStreamInput - Class in org.opensearch.core.common.io.stream
-
Main input stream for input data
- InputStreamStreamInput(InputStream) - Constructor for class org.opensearch.core.common.io.stream.InputStreamStreamInput
-
Creates a new InputStreamStreamInput with unlimited size
- InputStreamStreamInput(InputStream, long) - Constructor for class org.opensearch.core.common.io.stream.InputStreamStreamInput
-
Creates a new InputStreamStreamInput with a size limit
- INSTANCE - Static variable in class org.opensearch.core.transport.TransportResponse.Empty
- InstantiatingObjectParser<Value,
Context> - Class in org.opensearch.core.xcontent -
Like
ConstructingObjectParserbut works with objects which have a constructor that matches declared fields. - InstantiatingObjectParser.Builder<Value,
Context> - Class in org.opensearch.core.xcontent -
Builder for the Instantiating Object Parser
- INSUFFICIENT_STORAGE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
- INT - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- INT - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- INT_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- INT_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- INTERNAL_SERVER_ERROR - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server encountered an unexpected condition which prevented it from fulfilling the request.
- intValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- intValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- intValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- intValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- intValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- intValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
- INVALID_FILENAME_CHARS - Static variable in class org.opensearch.core.common.Strings
- isAccessibleDirectory(Path, Logger) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Check that a directory exists, is a directory and is readable by the current user
- isActive() - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- isAllOrWildcard(String) - Static method in class org.opensearch.core.common.Strings
-
Returns `true` if the string is `_all` or `*`.
- isAllOrWildcard(String[]) - Static method in class org.opensearch.core.common.Strings
-
If an array only consists of zero or one element, which is "*" or "_all" return an empty array which is usually used as everything
- isAlpha() - Method in class org.opensearch.LegacyESVersion
-
Returns true iff this version is an alpha version Note: This has been introduced in version 5 of the OpenSearch predecessor.
- isAlpha() - Method in class org.opensearch.Version
-
Returns true iff this version is an alpha version Note: This has been introduced in version 5 of the OpenSearch predecessor.
- isBeta() - Method in class org.opensearch.LegacyESVersion
- isBeta() - Method in class org.opensearch.Version
- isBooleanValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- isBooleanValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- isBooleanValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- isClosed() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- isClosed() - Method in class org.opensearch.core.xcontent.MapXContentParser
- isClosed() - Method in interface org.opensearch.core.xcontent.XContentGenerator
-
Returns
trueif this XContentGenerator has been closed. - isClosed() - Method in interface org.opensearch.core.xcontent.XContentParser
- isClosed() - Method in class org.opensearch.core.xcontent.XContentSubParser
- isCompatible(Version) - Method in class org.opensearch.Version
-
Returns
trueiff both version are compatible. - isCompressed(BytesReference) - Method in interface org.opensearch.core.compress.Compressor
- isCompressed(BytesReference) - Static method in class org.opensearch.core.compress.CompressorRegistry
- isCompressed(BytesReference) - Method in class org.opensearch.core.compress.NoneCompressor
- isDesktopServicesStore(Path) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Check whether the file denoted by the given path is a desktop services store created by Finder on macOS.
- isEmpty(CharSequence) - Static method in class org.opensearch.core.common.Strings
-
Check that the given CharSequence is either
nullor of length 0. - isEmpty(Object[]) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Checks if the given array contains any elements.
- isEmpty(Collection<E>) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Checks if a collection is empty or not.
- isExecutorShutdown() - Method in exception class org.opensearch.core.concurrency.OpenSearchRejectedExecutionException
-
Checks if the thread pool that rejected the execution was terminated shortly after the rejection.
- isFragment() - Method in interface org.opensearch.core.xcontent.ToXContent
- isFragment() - Method in interface org.opensearch.core.xcontent.ToXContentFragment
- isFragment() - Method in interface org.opensearch.core.xcontent.ToXContentObject
- isHidden(Path) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Check whether the file denoted by the given path is hidden.
- isNullOrEmpty(String) - Static method in class org.opensearch.core.common.Strings
- isOnlyForAnalysis() - Method in enum org.opensearch.core.tasks.resourcetracker.ResourceStatsType
- isPrettyPrint() - Method in class org.opensearch.core.xcontent.XContentBuilder
- isPrettyPrint() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- isProductionRelease() - Method in class org.opensearch.Build
-
Provides information about the intent of the build
- isRC() - Method in class org.opensearch.Version
- isRegistered(Class<? extends Throwable>, Version) - Static method in exception class org.opensearch.OpenSearchException
-
Returns
trueiff the given class is a registered for an exception to be read. - isRegistered(Class<? extends Throwable>, Version) - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
checks that the exception class is registered
- isRelease() - Method in class org.opensearch.Version
- isSatisfiedBy(String) - Method in class org.opensearch.semver.SemverRange
-
Check if range is satisfied by given version string.
- isSatisfiedBy(Version) - Method in class org.opensearch.semver.SemverRange
-
Check if range is satisfied by given version.
- isSet() - Method in class org.opensearch.core.tasks.TaskId
- isSnapshot() - Method in class org.opensearch.Build
- isValue() - Method in enum org.opensearch.core.xcontent.XContentParser.Token
- iterableAsArrayList(Iterable<? extends E>) - Static method in class org.opensearch.core.common.util.CollectionUtils
- iterator() - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- iterator() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns a BytesRefIterator for this BytesReference.
- iterator() - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- iterator() - Method in class org.opensearch.core.common.bytes.PagedBytesReference
J
- JSON - Static variable in class org.opensearch.core.xcontent.MediaTypeRegistry
K
- KB - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
L
- latlon(double, double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- latlon(String, double, double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- LegacyESVersion - Class in org.opensearch
-
The Contents of this file were originally moved from
Version. - LegacyESVersion(int, Version) - Constructor for class org.opensearch.LegacyESVersion
- length() - Method in class org.opensearch.core.common.bytes.BytesArray
- length() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
The length.
- length() - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- length() - Method in class org.opensearch.core.common.bytes.PagedBytesReference
- length() - Method in class org.opensearch.core.common.settings.SecureString
- LENGTH_REQUIRED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server refuses to accept the request without a defined Content-Length.
- lfAtEnd() - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Indicate that the current
XContentBuildermust write a line feed ("\n") at the end of the built object. - LIMIT - Static variable in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
The limit of this breaker is always -1
- lineNumber - Variable in class org.opensearch.core.xcontent.XContentLocation
- list() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- list() - Method in interface org.opensearch.core.xcontent.XContentParser
- list() - Method in class org.opensearch.core.xcontent.XContentSubParser
- listOrderedMap() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- listOrderedMap() - Method in interface org.opensearch.core.xcontent.XContentParser
- listOrderedMap() - Method in class org.opensearch.core.xcontent.XContentSubParser
- LOCKED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The 423 (Locked) status code means the source or destination resource of a method is locked.
- LoggerMessageFormat - Class in org.opensearch.core.common.logging
-
Format string for OpenSearch log messages.
- LoggerMessageFormat() - Constructor for class org.opensearch.core.common.logging.LoggerMessageFormat
- LONG - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- LONG - Enum constant in enum org.opensearch.core.xcontent.XContentParser.NumberType
- LONG_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- LONG_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- longValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- longValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- longValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- longValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- longValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- longValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
- luceneVersion - Variable in class org.opensearch.Version
M
- main(String[]) - Static method in class org.opensearch.Version
- major - Variable in class org.opensearch.Version
- map() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- map() - Method in interface org.opensearch.core.xcontent.XContentParser
- map() - Method in class org.opensearch.core.xcontent.XContentSubParser
- map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in interface org.opensearch.core.xcontent.XContentParser
-
Returns an instance of
Mapholding parsed map. - map(Supplier<Map<String, T>>, CheckedFunction<XContentParser, T, IOException>) - Method in class org.opensearch.core.xcontent.XContentSubParser
- map(Map<String, ?>) - Method in class org.opensearch.core.xcontent.XContentBuilder
- map(ActionListener<T>, CheckedFunction<Response, T, Exception>) - Static method in interface org.opensearch.core.action.ActionListener
-
Creates a listener that wraps another listener, mapping response values via the given mapping function and passing along exceptions to the delegate.
- mapContents(Map<String, ?>) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
writes a map without the start object and end object headers
- mapOrdered() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- mapOrdered() - Method in interface org.opensearch.core.xcontent.XContentParser
- mapOrdered() - Method in class org.opensearch.core.xcontent.XContentSubParser
- MapParams(Map<String, String>) - Constructor for class org.opensearch.core.xcontent.ToXContent.MapParams
- mapStrings() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- mapStrings() - Method in interface org.opensearch.core.xcontent.XContentParser
- mapStrings() - Method in class org.opensearch.core.xcontent.XContentSubParser
- MapXContentParser - Class in org.opensearch.core.xcontent
-
Wraps a map generated by XContentParser's map() method into XContent Parser
- MapXContentParser(NamedXContentRegistry, DeprecationHandler, Map<String, Object>, MediaType) - Constructor for class org.opensearch.core.xcontent.MapXContentParser
- mark(int) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- mark(int) - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- mark(int) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- markSupported() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- markSupported() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- markSupported() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- MASK - Static variable in class org.opensearch.Version
- maskId(int) - Method in class org.opensearch.LegacyESVersion
-
this is used to ensure the version id for new versions of OpenSearch are always less than the predecessor versions
- maskId(int) - Method in class org.opensearch.Version
-
this is used to ensure the version id for new versions of OpenSearch are always less than the predecessor versions
- match(String, Supplier<XContentLocation>, String, DeprecationHandler) - Method in class org.opensearch.core.ParseField
-
Does
fieldNamematch this field? - match(String, DeprecationHandler) - Method in class org.opensearch.core.ParseField
-
Does
fieldNamematch this field? - matches() - Method in class org.opensearch.core.xcontent.filtering.FilterPath
- matchProperty(String) - Method in class org.opensearch.core.xcontent.filtering.FilterPath
- max(Version, Version) - Static method in class org.opensearch.Version
-
Returns the maximum version between the 2
- maybeDieOnAnotherThread(Throwable) - Static method in class org.opensearch.ExceptionsHelper
-
If the specified cause is an unrecoverable error, this method will rethrow the cause on a separate thread so that it can not be caught and bubbles up to the uncaught exception handler.
- maybeError(Throwable) - Static method in class org.opensearch.ExceptionsHelper
-
Unwrap the specified throwable looking for any suppressed errors or errors as a root cause of the specified throwable.
- maybeThrowRuntimeAndSuppress(List<T>) - Static method in class org.opensearch.ExceptionsHelper
-
Throws a runtime exception with all given exceptions added as suppressed.
- MB - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
- mediaType() - Method in interface org.opensearch.core.xcontent.MediaType
- mediaType() - Method in interface org.opensearch.core.xcontent.XContent
-
The type this content handles and produces.
- MediaType - Interface in org.opensearch.core.xcontent
-
Abstracts a Media Type and a format parameter.
- mediaTypeFromBytes(byte[], int, int) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
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.
- MediaTypeProvider - Interface in org.opensearch.core.xcontent.spi
-
Service Provider Interface for plugins, modules, extensions providing their own Media Types
- MediaTypeRegistry - Class in org.opensearch.core.xcontent
-
Parses supported internet media types
- MediaTypeRegistry() - Constructor for class org.opensearch.core.xcontent.MediaTypeRegistry
- MediaTypeRegistry.ParsedMediaType - Class in org.opensearch.core.xcontent
-
A media type object that contains all the information provided on a Content-Type or Accept header
- mediaTypeWithoutParameters() - Method in interface org.opensearch.core.xcontent.MediaType
- MEMORY - Enum constant in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
A regular or ChildMemoryCircuitBreaker
- MEMORY - Enum constant in enum org.opensearch.core.tasks.resourcetracker.ResourceStats
- META_ADDRESS - Static variable in class org.opensearch.core.common.transport.TransportAddress
-
A non-routeable v4 meta transport address that can be used for testing or in scenarios where targets should be marked as non-applicable from a transport perspective.
- metadata - Variable in exception class org.opensearch.OpenSearchException
- metadataToXContent(XContentBuilder, ToXContent.Params) - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
- metadataToXContent(XContentBuilder, ToXContent.Params) - Method in exception class org.opensearch.core.common.ParsingException
- metadataToXContent(XContentBuilder, ToXContent.Params) - Method in exception class org.opensearch.OpenSearchException
-
Renders additional per exception information into the XContent
- METHOD_NOT_ALLOWED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
- min(Version, Version) - Static method in class org.opensearch.Version
-
Returns the minimum version between the 2.
- minimumCompatibilityVersion() - Method in class org.opensearch.Version
-
Returns the minimum compatible version based on the current version.
- minimumIndexCompatibilityVersion() - Method in class org.opensearch.Version
-
Returns the minimum created index version that this version supports.
- minor - Variable in class org.opensearch.Version
- MISDIRECTED_REQUEST - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request was directed at a server that is not able to produce a response.
- MISSING - Static variable in class org.opensearch.core.ParseField.CommonFields
- MOVED_PERMANENTLY - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.
- MULTI_STATUS - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The 207 (Multi-Status) status code provides status for multiple independent operations (see Section 13 for more information).
- MULTIPLE_CHOICES - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource corresponds to any one of a set of representations, each with its own specific location, and agent-driven negotiation information (section 12) is being provided so that the user (or user agent) can select a preferred representation and redirect its request to that location.
N
- name - Variable in class org.opensearch.core.common.io.stream.NamedWriteableRegistry.Entry
-
A name for the writeable which is unique to the
NamedWriteableRegistry.Entry.categoryClass. - name - Variable in class org.opensearch.core.xcontent.NamedXContentRegistry.Entry
-
A name for the entry which is unique within the
NamedXContentRegistry.Entry.categoryClass. - NAME - Static variable in class org.opensearch.core.compress.NoneCompressor
-
The name to register the compressor by
- namedObject(Class<T>, String, Object) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- namedObject(Class<T>, String, Object) - Method in interface org.opensearch.core.xcontent.XContentParser
-
Parse an object by name.
- namedObject(Class<T>, String, Object) - Method in class org.opensearch.core.xcontent.XContentSubParser
- NamedObjectNotFoundException - Exception Class in org.opensearch.core.xcontent
-
Thrown when
NamedXContentRegistrycannot locate a named object to parse for a particular name - NamedObjectNotFoundException(XContentLocation, String, Iterable<String>) - Constructor for exception class org.opensearch.core.xcontent.NamedObjectNotFoundException
- NamedWriteable - Interface in org.opensearch.core.common.io.stream
-
A
Writeableobject identified by its name. - NamedWriteableAwareStreamInput - Class in org.opensearch.core.common.io.stream
-
Wraps a
StreamInputand associates it with aNamedWriteableRegistry - NamedWriteableAwareStreamInput(StreamInput, NamedWriteableRegistry) - Constructor for class org.opensearch.core.common.io.stream.NamedWriteableAwareStreamInput
- namedWriteableRegistry() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- namedWriteableRegistry() - Method in class org.opensearch.core.common.io.stream.NamedWriteableAwareStreamInput
- namedWriteableRegistry() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Get the registry of named writeables if this stream has one,
nullotherwise. - NamedWriteableRegistry - Class in org.opensearch.core.common.io.stream
-
A registry for
Writeable.Readerreaders ofNamedWriteable. - NamedWriteableRegistry(List<NamedWriteableRegistry.Entry>) - Constructor for class org.opensearch.core.common.io.stream.NamedWriteableRegistry
-
Constructs a new registry from the given entries.
- NamedWriteableRegistry.Entry - Class in org.opensearch.core.common.io.stream
-
An entry in the registry, made up of a category class and name, and a reader for that category class.
- NamedXContentRegistry - Class in org.opensearch.core.xcontent
-
Main registry for serializable content (e.g., field mappers, aggregations)
- NamedXContentRegistry(List<NamedXContentRegistry.Entry>) - Constructor for class org.opensearch.core.xcontent.NamedXContentRegistry
- NamedXContentRegistry.Entry - Class in org.opensearch.core.xcontent
-
An entry in the NamedXContentRegistry containing the name of the object and the parser that can parse it.
- newSingletonArrayList(E) - Static method in class org.opensearch.core.common.util.CollectionUtils
- nextToken() - Method in class org.opensearch.core.xcontent.MapXContentParser
- nextToken() - Method in interface org.opensearch.core.xcontent.XContentParser
- nextToken() - Method in class org.opensearch.core.xcontent.XContentSubParser
- NO_CONTENT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated meta information.
- NON_AUTHORITATIVE_INFORMATION - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The returned meta information in the entity-header is not the definitive set as available from the origin server, but is gathered from a local or a third-party copy.
- none() - Static method in class org.opensearch.core.compress.CompressorRegistry
- NoneCircuitBreakerService - Class in org.opensearch.core.indices.breaker
-
Class that returns a breaker that use the NoopCircuitBreaker and never breaks
- NoneCircuitBreakerService() - Constructor for class org.opensearch.core.indices.breaker.NoneCircuitBreakerService
- NoneCompressor - Class in org.opensearch.core.compress
-
Compressorno compressor implementation. - NoneCompressor() - Constructor for class org.opensearch.core.compress.NoneCompressor
- NOOP - Enum constant in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
A breaker where every action is a noop, it never breaks
- NoopCircuitBreaker - Class in org.opensearch.core.common.breaker
-
A
CircuitBreakerthat doesn't increment or adjust, and all operations are basically noops. - NoopCircuitBreaker(String) - Constructor for class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
Creates a new NoopCircuitBreaker (that never trip) with the given name
- NOT_ACCEPTABLE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
- NOT_FOUND - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server has not found anything matching the Request-URI.
- NOT_IMPLEMENTED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server does not support the functionality required to fulfill the request.
- NOT_MODIFIED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code.
- NotCompressedException - Exception Class in org.opensearch.core.compress
-
Exception indicating that we were expecting something compressed, which was not compressed or corrupted so that the compression format could not be detected.
- NotCompressedException() - Constructor for exception class org.opensearch.core.compress.NotCompressedException
- notifyOnce(ActionListener<Response>) - Static method in interface org.opensearch.core.action.ActionListener
-
Wraps a given listener and returns a new listener which makes sure
ActionListener.onResponse(Object)andActionListener.onFailure(Exception)of the provided listener will be called at most once. - NotifyOnceListener<Response> - Class in org.opensearch.core.action
-
A listener that ensures that only one of onResponse or onFailure is called.
- NotifyOnceListener() - Constructor for class org.opensearch.core.action.NotifyOnceListener
- NotSerializableExceptionWrapper - Exception Class in org.opensearch.core.common.io.stream
-
This exception can be used to wrap a given, not serializable exception to serialize via
StreamOutput.writeException(Throwable). - NotSerializableExceptionWrapper(Throwable) - Constructor for exception class org.opensearch.core.common.io.stream.NotSerializableExceptionWrapper
- NotSerializableExceptionWrapper(StreamInput) - Constructor for exception class org.opensearch.core.common.io.stream.NotSerializableExceptionWrapper
- NotXContentException - Exception Class in org.opensearch.core.compress
-
Exception indicating that we were expecting some
XContentbut could not detect its type. - NotXContentException(String) - Constructor for exception class org.opensearch.core.compress.NotXContentException
- nullField(String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- nullValue() - Method in class org.opensearch.core.xcontent.XContentBuilder
- numberType() - Method in class org.opensearch.core.xcontent.MapXContentParser
- numberType() - Method in interface org.opensearch.core.xcontent.XContentParser
- numberType() - Method in class org.opensearch.core.xcontent.XContentSubParser
- numberValue() - Method in class org.opensearch.core.xcontent.MapXContentParser
- numberValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- numberValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
O
- OBJECT - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_BOOLEAN_OR_STRING - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_OR_STRING - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_ARRAY_STRING_OR_NUMBER - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_OR_BOOLEAN - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_OR_LONG - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- OBJECT_OR_STRING - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- objectBytes() - Method in class org.opensearch.core.xcontent.MapXContentParser
- objectBytes() - Method in interface org.opensearch.core.xcontent.XContentParser
- objectBytes() - Method in class org.opensearch.core.xcontent.XContentSubParser
- ObjectParser<Value,
Context> - Class in org.opensearch.core.xcontent -
A declarative, stateless parser that turns XContent into setter calls.
- ObjectParser(String) - Constructor for class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser.
- ObjectParser(String, boolean, Supplier<Value>) - Constructor for class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser.
- ObjectParser(String, Class<C>, BiConsumer<Value, C>, Supplier<Value>) - Constructor for class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser that attempts to resolve unknown fields as
namedObjects. - ObjectParser(String, Supplier<Value>) - Constructor for class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser.
- ObjectParser(String, ObjectParser.UnknownFieldConsumer<Value>, Supplier<Value>) - Constructor for class org.opensearch.core.xcontent.ObjectParser
-
Creates a new ObjectParser that consumes unknown fields as generic Objects.
- ObjectParser.NamedObjectParser<T,
Context> - Interface in org.opensearch.core.xcontent -
Functional interface for instantiating and parsing named objects.
- ObjectParser.Parser<Value,
Context> - Interface in org.opensearch.core.xcontent -
Main parser interface
- ObjectParser.UnknownFieldConsumer<Value> - Interface in org.opensearch.core.xcontent
-
Defines how to consume a parsed undefined field
- ObjectParser.ValueType - Enum in org.opensearch.core.xcontent
-
Supported Value Types for Parsable Objects
- ObjectParserHelper<Value,
Context> - Class in org.opensearch.core.xcontent -
This class provides helpers for
ObjectParserthat allow dealing with classes outside of the xcontent dependencies. - ObjectParserHelper() - Constructor for class org.opensearch.core.xcontent.ObjectParserHelper
- ObjectPath - Class in org.opensearch.core.xcontent
-
Helper class to navigate nested objects using dot notation
- objectText() - Method in class org.opensearch.core.xcontent.MapXContentParser
- objectText() - Method in interface org.opensearch.core.xcontent.XContentParser
- objectText() - Method in class org.opensearch.core.xcontent.XContentSubParser
- of(BytesReference...) - Static method in class org.opensearch.core.common.bytes.CompositeBytesReference
- offset() - Method in class org.opensearch.core.common.bytes.BytesArray
- OK - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request has succeeded.
- onFailure(Exception) - Method in interface org.opensearch.core.action.ActionListener
-
A failure caused by an exception at some phase of the task.
- onFailure(Exception) - Method in class org.opensearch.core.action.NotifyOnceListener
- onFailure(Iterable<ActionListener<Response>>, Exception) - Static method in interface org.opensearch.core.action.ActionListener
-
Notifies every given listener with the failure passed to
ActionListener.onFailure(Exception). - onOrAfter(Version) - Method in class org.opensearch.Version
- onOrBefore(Version) - Method in class org.opensearch.Version
- onResponse(Iterable<ActionListener<Response>>, Response) - Static method in interface org.opensearch.core.action.ActionListener
-
Notifies every given listener with the response passed to
ActionListener.onResponse(Object). - onResponse(Response) - Method in interface org.opensearch.core.action.ActionListener
-
Handle action response.
- onResponse(Response) - Method in class org.opensearch.core.action.NotifyOnceListener
- openFileURLStream(URL) - Static method in class org.opensearch.core.util.FileSystemUtils
-
Returns an InputStream the given url if the url has a protocol of 'file' or 'jar', no host, and no port.
- OpenSearchException - Exception Class in org.opensearch
-
A core library base class for all opensearch exceptions.
- OpenSearchException(String, Object...) - Constructor for exception class org.opensearch.OpenSearchException
-
Construct a
OpenSearchExceptionwith the specified detail message. - OpenSearchException(String, Throwable, Object...) - Constructor for exception class org.opensearch.OpenSearchException
-
Construct a
OpenSearchExceptionwith the specified detail message and nested exception. - OpenSearchException(Throwable) - Constructor for exception class org.opensearch.OpenSearchException
-
Construct a
OpenSearchExceptionwith the specified cause exception. - OpenSearchException(StreamInput) - Constructor for exception class org.opensearch.OpenSearchException
- OpenSearchException.OpenSearchExceptionHandle - Class in org.opensearch
-
This is the list of Exceptions OpenSearch can throw over the wire or save into a corruption marker.
- OpenSearchException.OpenSearchExceptionHandleRegistry - Class in org.opensearch
-
Registry of ExceptionHandlers
- OpenSearchExceptionHandleRegistry() - Constructor for class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
- OpenSearchParseException - Exception Class in org.opensearch
-
Unchecked exception that is translated into a
400 BAD REQUESTerror when it bubbles out over HTTP. - OpenSearchParseException(String, Object...) - Constructor for exception class org.opensearch.OpenSearchParseException
- OpenSearchParseException(String, Throwable, Object...) - Constructor for exception class org.opensearch.OpenSearchParseException
- OpenSearchParseException(StreamInput) - Constructor for exception class org.opensearch.OpenSearchParseException
- OpenSearchRejectedExecutionException - Exception Class in org.opensearch.core.concurrency
-
Thrown when an execution is rejected
- OpenSearchRejectedExecutionException() - Constructor for exception class org.opensearch.core.concurrency.OpenSearchRejectedExecutionException
- OpenSearchRejectedExecutionException(String) - Constructor for exception class org.opensearch.core.concurrency.OpenSearchRejectedExecutionException
- OpenSearchRejectedExecutionException(String, boolean) - Constructor for exception class org.opensearch.core.concurrency.OpenSearchRejectedExecutionException
- OpenSearchWrapperException - Interface in org.opensearch
-
An exception that is meant to be "unwrapped" when sent back to the user as an error because its is
cause, if non-null is always more useful to the user than the exception itself. - optionalConstructorArg() - Static method in class org.opensearch.core.xcontent.ConstructingObjectParser
-
Pass the BiConsumer this returns the declare methods to declare an optional constructor argument.
- org.opensearch - package org.opensearch
-
OpenSearch Core Library
- org.opensearch.core - package org.opensearch.core
-
Base Core Library Classes
- org.opensearch.core.action - package org.opensearch.core.action
-
Core action module
- org.opensearch.core.action.support - package org.opensearch.core.action.support
-
Support classes for core action module
- org.opensearch.core.common - package org.opensearch.core.common
-
common core classes that require third party dependencies
- org.opensearch.core.common.breaker - package org.opensearch.core.common.breaker
-
Foundation classes for the Circuit Breaker
- org.opensearch.core.common.bytes - package org.opensearch.core.common.bytes
-
Classes for core Bytes module
- org.opensearch.core.common.io.stream - package org.opensearch.core.common.io.stream
-
Core transport stream classes
- org.opensearch.core.common.logging - package org.opensearch.core.common.logging
-
core logging classes
- org.opensearch.core.common.settings - package org.opensearch.core.common.settings
-
Classes for core Settings module
- org.opensearch.core.common.text - package org.opensearch.core.common.text
-
Classes for core text module
- org.opensearch.core.common.transport - package org.opensearch.core.common.transport
-
Common / Base Transport classes used to implement the OpenSearch transport layer
- org.opensearch.core.common.unit - package org.opensearch.core.common.unit
-
Common units of measurement used by the core library.
- org.opensearch.core.common.util - package org.opensearch.core.common.util
-
Classes for core util module
- org.opensearch.core.compress - package org.opensearch.core.compress
-
Concrete
Compressorimplementations provided by the core library SeeNoneCompressor - org.opensearch.core.compress.spi - package org.opensearch.core.compress.spi
-
The Service Provider Interface implementation for registering
Compressorwith theCompressorRegistrySeeDefaultCompressorProvideras an example of registering the coreNoneCompressor - org.opensearch.core.concurrency - package org.opensearch.core.concurrency
-
core concurrency package
- org.opensearch.core.index - package org.opensearch.core.index
-
Classes for core index module
- org.opensearch.core.index.shard - package org.opensearch.core.index.shard
-
Classes for core index/shard module
- org.opensearch.core.index.snapshots - package org.opensearch.core.index.snapshots
-
Classes for core snapshots module
- org.opensearch.core.indices.breaker - package org.opensearch.core.indices.breaker
-
Top Level core circuit breaker implementation
- org.opensearch.core.rest - package org.opensearch.core.rest
-
Classes for core REST module
- org.opensearch.core.service - package org.opensearch.core.service
-
OpenSearch Core Service Interfaces
- org.opensearch.core.tasks - package org.opensearch.core.tasks
-
Core Tasks Foundation classes used across the opensearch code base
- org.opensearch.core.tasks.resourcetracker - package org.opensearch.core.tasks.resourcetracker
-
Resource tracking classes for tracking task resource consumption (e.g., memory, cpu)
- org.opensearch.core.transport - package org.opensearch.core.transport
-
Core Transport Layer classes used across the OpenSearch core
- org.opensearch.core.util - package org.opensearch.core.util
-
Core utility classes that need the Lucene API
- org.opensearch.core.xcontent - package org.opensearch.core.xcontent
-
Base XContent Core Classes
- org.opensearch.core.xcontent.filtering - package org.opensearch.core.xcontent.filtering
-
Base XContent Filtering Classes
- org.opensearch.core.xcontent.spi - package org.opensearch.core.xcontent.spi
-
Service Provider Interface for extensible media types
- org.opensearch.semver - package org.opensearch.semver
-
Semver library module
- org.opensearch.semver.expr - package org.opensearch.semver.expr
-
Expressions library module
- OutputStreamStreamOutput - Class in org.opensearch.core.common.io.stream
-
Streaming output data
- OutputStreamStreamOutput(OutputStream) - Constructor for class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
P
- padStart(String, int, char) - Static method in class org.opensearch.core.common.Strings
- PAGE_SIZE_IN_BYTES - Static variable in class org.opensearch.core.common.bytes.PagedBytesReference
- PagedBytesReference - Class in org.opensearch.core.common.bytes
-
A page based bytes reference, internally holding the bytes in a paged data structure.
- param(String) - Method in class org.opensearch.core.xcontent.ToXContent.DelegatingMapParams
- param(String) - Method in class org.opensearch.core.xcontent.ToXContent.MapParams
- param(String) - Method in interface org.opensearch.core.xcontent.ToXContent.Params
- param(String, String) - Method in class org.opensearch.core.xcontent.ToXContent.DelegatingMapParams
- param(String, String) - Method in class org.opensearch.core.xcontent.ToXContent.MapParams
- param(String, String) - Method in interface org.opensearch.core.xcontent.ToXContent.Params
- paramAsBoolean(String, boolean) - Method in class org.opensearch.core.xcontent.ToXContent.DelegatingMapParams
- paramAsBoolean(String, boolean) - Method in class org.opensearch.core.xcontent.ToXContent.MapParams
- paramAsBoolean(String, boolean) - Method in interface org.opensearch.core.xcontent.ToXContent.Params
- paramAsBoolean(String, Boolean) - Method in class org.opensearch.core.xcontent.ToXContent.DelegatingMapParams
- paramAsBoolean(String, Boolean) - Method in class org.opensearch.core.xcontent.ToXContent.MapParams
- paramAsBoolean(String, Boolean) - Method in interface org.opensearch.core.xcontent.ToXContent.Params
- PARENT - Enum constant in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
A special parent-type for the hierarchy breaker service
- PARENT - Static variable in interface org.opensearch.core.common.breaker.CircuitBreaker
-
The parent breaker is a sum of all the following breakers combined.
- parse(XContentParser, Context) - Method in class org.opensearch.core.xcontent.ConstructingObjectParser
- parse(XContentParser, Context) - Method in interface org.opensearch.core.xcontent.ContextParser
- parse(XContentParser, Context) - Method in class org.opensearch.core.xcontent.InstantiatingObjectParser
- parse(XContentParser, Context) - Method in class org.opensearch.core.xcontent.ObjectParser
-
Parses a Value from the given
XContentParser - parse(XContentParser, Context, String) - Method in interface org.opensearch.core.xcontent.ObjectParser.NamedObjectParser
- parse(XContentParser, Value, Context) - Method in class org.opensearch.core.xcontent.ObjectParser
-
Parses a Value from the given
XContentParser - parse(XContentParser, Value, Context) - Method in interface org.opensearch.core.xcontent.ObjectParser.Parser
- parseBytesSizeValue(String, String) - Static method in class org.opensearch.core.common.unit.ByteSizeValue
- parseBytesSizeValue(String, ByteSizeValue, String) - Static method in class org.opensearch.core.common.unit.ByteSizeValue
- ParsedMediaType(MediaType, Map<String, String>) - Constructor for class org.opensearch.core.xcontent.MediaTypeRegistry.ParsedMediaType
- ParseField - Class in org.opensearch.core
-
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.opensearch.core.ParseField
- ParseField.CommonFields - Class in org.opensearch.core
-
Common fields shared throughout the project
- parseFieldsValue(XContentParser) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
-
Parse the current token depending on its token type.
- parseMediaType(String) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
parsing media type that follows https://tools.ietf.org/html/rfc7231#section-3.1.1.1
- parseNamedObject(Class<T>, String, XContentParser, C) - Method in class org.opensearch.core.xcontent.NamedXContentRegistry
-
Parse a named object, throwing an exception if the parser isn't found.
- parser() - Static method in class org.opensearch.core.tasks.TaskId
- PARSER - Static variable in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- PARSER - Static variable in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- PARSER - Static variable in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- PARSER - Static variable in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- ParserConstructor - Annotation Type in org.opensearch.core.xcontent
-
Marks the constructor that should be used by InstantiatingObjectParser if multiple constructors with the same number of arguments exist.
- parseTypedKeysObject(XContentParser, String, Class<T>, Consumer<T>) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
-
This method expects that the current field name is the concatenation of a type, a delimiter and a name (ex: terms#foo where "terms" refers to the type of a registered
NamedXContentRegistry.Entry, "#" is the delimiter and "foo" the name of the object to parse). - parseValue(String) - Static method in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
Converts string (case-insensitive) to breaker
CircuitBreaker.Type - ParsingException - Exception Class in org.opensearch.core.common
-
Exception that can be used when parsing queries with a given
XContentParser. - ParsingException(int, int, String, Throwable) - Constructor for exception class org.opensearch.core.common.ParsingException
-
This constructor is provided for use in unit tests where a
XContentParsermay not be available - ParsingException(StreamInput) - Constructor for exception class org.opensearch.core.common.ParsingException
- ParsingException(XContentLocation, String, Object...) - Constructor for exception class org.opensearch.core.common.ParsingException
- ParsingException(XContentLocation, String, Throwable, Object...) - Constructor for exception class org.opensearch.core.common.ParsingException
- PARTIAL_CONTENT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server has fulfilled the partial GET request for the resource.
- PAYMENT_REQUIRED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
This code is reserved for future use.
- PB - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
- percentageField(String, String, double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- PERMANENT - Enum constant in enum org.opensearch.core.common.breaker.CircuitBreaker.Durability
-
The condition that tripped the circuit breaker requires manual intervention.
- position() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- position() - Method in class org.opensearch.core.common.io.stream.StreamOutput
- position(int) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- PRECONDITION_FAILED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
- prettyPrint() - Method in class org.opensearch.core.xcontent.XContentBuilder
- priority() - Method in interface org.opensearch.core.xcontent.ErrorOnUnknown
-
Priority that this error message handler should be used.
- PROXY_AUTHENTICATION - Enum constant in enum org.opensearch.core.rest.RestStatus
-
This code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy.
- publishAddress() - Method in class org.opensearch.core.common.transport.BoundTransportAddress
Q
- quote(String) - Static method in class org.opensearch.core.common.Strings
-
Quote the given String with single quotes.
R
- ramBytesUsed() - Method in class org.opensearch.core.common.bytes.BytesArray
- ramBytesUsed() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
The amount of memory used by this BytesReference
- ramBytesUsed() - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- ramBytesUsed() - Method in class org.opensearch.core.common.bytes.PagedBytesReference
- rawField(String, InputStream) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Deprecated.use
XContentBuilder.rawField(String, InputStream, MediaType)to avoid content type auto-detection - rawField(String, InputStream, MediaType) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Writes a raw field with the value taken from the bytes in the stream
- rawValue(InputStream, MediaType) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Writes a value with the source coming directly from the bytes in the stream
- rawValue(Object) - Method in interface org.opensearch.core.xcontent.XContentBuilder.HumanReadableTransformer
- read() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- read() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- read() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- read() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- read(byte[]) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- read(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- read(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- read(StreamInput) - Method in interface org.opensearch.core.common.io.stream.Writeable.Reader
-
Read
V-type value from a stream. - readArray(Writeable.Reader<T>, IntFunction<T[]>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an array from the stream using the specified
Writeable.Readerto read array elements from the stream. - readBigInteger() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readBoolean() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a boolean.
- readBuild() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads the
Versionfrom the input stream - readByte() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- readByte() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- readByte() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- readByte() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- readByte() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads and returns a single byte.
- readByteArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- readBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- readBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- readBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- readBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a specified number of bytes into an array at the specified offset.
- readBytesRef() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readBytesRef(int) - Method in class org.opensearch.core.common.io.stream.StreamInput
- readBytesReference() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a bytes reference from this stream, might hold an actual reference to the underlying bytes of the stream.
- readBytesReference(int) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a bytes reference from this stream, might hold an actual reference to the underlying bytes of the stream.
- readDouble() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readDoubleArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readEnum(Class<E>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an enum with type E that was serialized based on the value of its ordinal
- readEnumSet(Class<E>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an enum with type E that was serialized based on the value of it's ordinal
- reader - Variable in class org.opensearch.core.common.io.stream.NamedWriteableRegistry.Entry
-
A reader capability of reading
- readException() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readException(T, int) - Static method in exception class org.opensearch.OpenSearchException
- readFloat() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readFloatArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readFrom(StreamInput) - Static method in enum org.opensearch.core.common.unit.ByteSizeUnit
-
Reads a
ByteSizeUnitfrom a givenStreamInput - readFrom(StreamInput) - Static method in enum org.opensearch.core.rest.RestStatus
- readFrom(StreamInput, DefaultShardOperationFailedException) - Static method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- readFromStream(StreamInput) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
-
Read task info from a stream.
- readFromStream(StreamInput) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
-
Read from a stream.
- readFromStream(StreamInput) - Static method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
-
Read from a stream.
- readFromStream(StreamInput) - Static method in class org.opensearch.core.tasks.TaskId
-
Read a TaskId from a stream.
- readFully(byte[]) - Method in class org.opensearch.core.common.io.stream.StreamInput
- readGenericValue() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a value of unspecified type.
- readInstant() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read an
Instantfrom the stream with nanosecond resolution - readInt() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- readInt() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- readInt() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- readInt() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads four bytes and returns an int.
- readIntArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readList(Writeable.Reader<T>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a list of objects.
- readLong() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- readLong() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- readLong() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- readLong() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads eight bytes and returns a long.
- readLongArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readMap() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
If the returned map contains any entries it will be mutable.
- readMap(Writeable.Reader<K>, Writeable.Reader<V>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
If the returned map contains any entries it will be mutable.
- readMapOfLists(Writeable.Reader<K>, Writeable.Reader<V>) - Method in class org.opensearch.core.common.io.stream.StreamInput
- readMediaType() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readNamedWriteable(Class<C>) - Method in class org.opensearch.core.common.io.stream.NamedWriteableAwareStreamInput
- readNamedWriteable(Class<C>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a
NamedWriteablefrom the current stream, by first reading its name and then looking for the corresponding entry in the registry by name, so that the proper object can be read and returned. - readNamedWriteable(Class<C>, String) - Method in class org.opensearch.core.common.io.stream.NamedWriteableAwareStreamInput
- readNamedWriteable(Class<C>, String) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a
NamedWriteablefrom the current stream with the given name. - readNamedWriteableList(Class<T>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a list of
NamedWriteables. - readOptionalArray(Writeable.Reader<T>, IntFunction<T[]>) - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalBoolean() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalBytesReference() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an optional bytes reference from this stream.
- readOptionalDouble() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalFloat() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalInstant() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read an optional
Instantfrom the stream. - readOptionalInt() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an optional
Integer. - readOptionalLong() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalNamedWriteable(Class<C>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an optional
NamedWriteable. - readOptionalSecureString() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalString() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalStringArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalStringList() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an optional list of strings.
- readOptionalText() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalTimeValue() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read an optional
TimeValuefrom the stream, returning null if no TimeValue was written. - readOptionalVInt() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalVLong() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalWriteable(Writeable.Reader<T>) - Method in class org.opensearch.core.common.io.stream.StreamInput
- readOptionalZoneId() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read an optional ZoneId.
- readOrderedMap(Writeable.Reader<K>, Writeable.Reader<V>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read a serialized map into a SortedMap using the default ordering for the keys.
- readOrderedMap(Writeable.Reader<K>, Writeable.Reader<V>, Comparator<K>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read a serialized map into a SortedMap, specifying a Comparator for the keys.
- readSecureString() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readSemverRange() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readSet(Writeable.Reader<T>) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a set of objects.
- readShardOperationFailed(StreamInput) - Static method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- readShort() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- readShort() - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- readShort() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- readShort() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readStackTrace(T, StreamInput) - Static method in exception class org.opensearch.OpenSearchException
-
Deserializes stacktrace elements as well as suppressed exceptions from the given output stream and adds it to the given exception.
- readString() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readStringArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readStringList() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a list of strings.
- readText() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readTimeValue() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read a
TimeValuefrom the stream - readValue(XContentParser, Supplier<Map<String, Object>>) - Static method in class org.opensearch.core.xcontent.AbstractXContentParser
- readVersion() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads the OpenSearch Version from the input stream
- readVInt() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads an int stored in variable-length format.
- readVIntArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readVLong() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Reads a long stored in variable-length format.
- readVLongArray() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readZLong() - Method in class org.opensearch.core.common.io.stream.StreamInput
- readZoneId() - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Read a ZoneId.
- reason - Variable in class org.opensearch.core.action.ShardOperationFailedException
- reason() - Method in class org.opensearch.core.action.ShardOperationFailedException
-
The reason of the failure.
- recordResourceUsageMetrics(ResourceUsageMetric...) - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo
- recordResourceUsageMetrics(ResourceUsageMetric...) - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
-
Updates thread's resource consumption information.
- registerClassAlias(Class<?>, Class<?>) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
- registeredCompressors() - Static method in class org.opensearch.core.compress.CompressorRegistry
-
Returns the registered compressors as an Immutable collection
- registerExceptionHandle(OpenSearchException.OpenSearchExceptionHandle) - Static method in class org.opensearch.OpenSearchException.OpenSearchExceptionHandleRegistry
-
registers the Exception handler
- registerReader(byte, R) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
-
registers a streamable reader
- registerWriter(Class<?>, W) - Static method in class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
-
registers a streamable writer
- remoteAddress() - Method in class org.opensearch.core.transport.TransportMessage
- remoteAddress(TransportAddress) - Method in class org.opensearch.core.transport.TransportMessage
- replace(String, String, String) - Static method in class org.opensearch.core.common.Strings
-
Replace all occurrences of a substring within a string with another string.
- ReportingService<I> - Interface in org.opensearch.core.service
-
Node reporting service
- ReportingService.Info - Interface in org.opensearch.core.service
-
Information interface.
- REQUEST - Static variable in interface org.opensearch.core.common.breaker.CircuitBreaker
-
The request breaker tracks memory used for particular requests.
- REQUEST_ENTITY_TOO_LARGE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server is refusing to process a request because the request entity is larger than the server is willing or able to process.
- REQUEST_TIMEOUT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The client did not produce a request within the time that the server was prepared to wait.
- REQUEST_URI_TOO_LONG - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.
- REQUESTED_RANGE_NOT_SATISFIED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
A server SHOULD return a response with this status code if a request included a Range request-header field (section 14.35), and none of the range-specifier values in this field overlap the current extent of the selected resource, and the request did not include an If-Range request-header field.
- reset() - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- reset() - Method in class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- reset() - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- reset() - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- reset() - Method in class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
- reset() - Method in class org.opensearch.core.common.io.stream.StreamOutput
- reset(byte[]) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- reset(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- RESET_CONTENT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server has fulfilled the request and the user agent SHOULD reset the document view which caused the request to be sent.
- ResourceStats - Enum in org.opensearch.core.tasks.resourcetracker
-
Different resource stats are defined.
- ResourceStatsType - Enum in org.opensearch.core.tasks.resourcetracker
-
Defines the different types of resource stats.
- ResourceUsageInfo - Class in org.opensearch.core.tasks.resourcetracker
-
Thread resource usage information for particular resource stats type.
- ResourceUsageInfo(ResourceUsageMetric...) - Constructor for class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo
- ResourceUsageInfo.ResourceStatsInfo - Class in org.opensearch.core.tasks.resourcetracker
-
Defines resource stats information.
- ResourceUsageMetric - Class in org.opensearch.core.tasks.resourcetracker
-
Information about resource usage
- ResourceUsageMetric(ResourceStats, long) - Constructor for class org.opensearch.core.tasks.resourcetracker.ResourceUsageMetric
- REST_EXCEPTION_SKIP_STACK_TRACE - Static variable in exception class org.opensearch.OpenSearchException
-
Passed in the
ToXContent.ParamsofOpenSearchException.generateThrowableXContent(XContentBuilder, ToXContent.Params, Throwable)to control if thestack_traceelement should render. - REST_EXCEPTION_SKIP_STACK_TRACE_DEFAULT - Static variable in exception class org.opensearch.OpenSearchException
- RestStatus - Enum in org.opensearch.core.rest
-
OpenSearch REST status
- rethrowAndSuppress(List<T>) - Static method in class org.opensearch.ExceptionsHelper
-
Rethrows the first exception in the list and adds all remaining to the suppressed list.
- reThrowIfNotNull(Throwable) - Static method in class org.opensearch.ExceptionsHelper
-
Throws the specified exception.
- revision - Variable in class org.opensearch.Version
- rotate(List<T>, int) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Return a rotated view of the given list with the given distance.
- RPM - Enum constant in enum org.opensearch.Build.Type
- runAfter(ActionListener<Response>, Runnable) - Static method in interface org.opensearch.core.action.ActionListener
-
Wraps a given listener and returns a new listener which executes the provided
runAftercallback when the listener is notified via either#onResponseor#onFailure. - runBefore(ActionListener<Response>, CheckedRunnable<?>) - Static method in interface org.opensearch.core.action.ActionListener
-
Wraps a given listener and returns a new listener which executes the provided
runBeforecallback before the listener is notified via either#onResponseor#onFailure.
S
- SecureString - Class in org.opensearch.core.common.settings
-
A String implementations which allows clearing the underlying char array.
- SecureString(char[]) - Constructor for class org.opensearch.core.common.settings.SecureString
-
Constructs a new SecureString which controls the passed in char array.
- SecureString(String) - Constructor for class org.opensearch.core.common.settings.SecureString
-
Deprecated.Only use for compatibility between deprecated string settings and new secure strings
- SEE_OTHER - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource.
- seek(long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- SemverRange - Class in org.opensearch.semver
-
Represents a single semver range that allows for specifying which
org.opensearch.Versions satisfy the range. - SemverRange(Version, SemverRange.RangeOperator) - Constructor for class org.opensearch.semver.SemverRange
- SemverRange.RangeOperator - Enum in org.opensearch.semver
-
A range operator.
- SERVICE_UNAVAILABLE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
- set(long, byte) - Method in interface org.opensearch.core.common.util.ByteArray
-
Set a value at the given index and return the previous value.
- set(long, byte[], int, int) - Method in interface org.opensearch.core.common.util.ByteArray
-
Bulk set.
- setAction(String) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- setActive(boolean) - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- setFeatures(Set<String>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Set the features on the stream.
- setIndex(String) - Method in exception class org.opensearch.OpenSearchException
- setIndex(Index) - Method in exception class org.opensearch.OpenSearchException
- setLimitAndOverhead(long, double) - Method in interface org.opensearch.core.common.breaker.CircuitBreaker
-
sets the new limit and overhead values for the circuit breaker.
- setLimitAndOverhead(long, double) - Method in class org.opensearch.core.common.breaker.NoopCircuitBreaker
-
Limit and overhead are constant for a noop breaker.
- setNodeId(String) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- setParentTaskId(long) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- setPosition(int) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- setResources(String, String...) - Method in exception class org.opensearch.OpenSearchException
- setShard(ShardId) - Method in exception class org.opensearch.OpenSearchException
- setTaskId(long) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- setTaskResourceUsage(TaskResourceUsage) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo.Builder
- setVersion(Version) - Method in class org.opensearch.core.common.io.stream.FilterStreamInput
- setVersion(Version) - Method in class org.opensearch.core.common.io.stream.StreamInput
-
Set the version of the node on the other side of this stream.
- setVersion(Version) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Set the version of the node on the other side of this stream.
- shardId - Variable in class org.opensearch.core.action.ShardOperationFailedException
- shardId() - Method in class org.opensearch.core.action.ShardOperationFailedException
-
The index the operation failed on.
- ShardId - Class in org.opensearch.core.index.shard
-
Allows for shard level components to be injected with the shard id.
- ShardId(String, String, int) - Constructor for class org.opensearch.core.index.shard.ShardId
-
Constructs a new shard id with the given index name, index unique identifier, and shard id.
- ShardId(StreamInput) - Constructor for class org.opensearch.core.index.shard.ShardId
-
Constructs a new shardId from a stream.
- ShardId(Index, int) - Constructor for class org.opensearch.core.index.shard.ShardId
-
Constructs a new shard id.
- ShardOperationFailedException - Class in org.opensearch.core.action
-
An exception indicating that a failure occurred performing an operation on the shard.
- ShardOperationFailedException() - Constructor for class org.opensearch.core.action.ShardOperationFailedException
- ShardOperationFailedException(String, int, String, RestStatus, Throwable) - Constructor for class org.opensearch.core.action.ShardOperationFailedException
- shortValue() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- shortValue() - Method in interface org.opensearch.core.xcontent.XContentParser
- shortValue() - Method in class org.opensearch.core.xcontent.XContentSubParser
- shortValue(boolean) - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- shortValue(boolean) - Method in interface org.opensearch.core.xcontent.XContentParser
- shortValue(boolean) - Method in class org.opensearch.core.xcontent.XContentSubParser
- size() - Method in interface org.opensearch.core.common.util.BigArray
-
Return the length of this array.
- skip(long) - Method in class org.opensearch.core.common.io.stream.ByteBufferStreamInput
- skip(long) - Method in class org.opensearch.core.common.io.stream.InputStreamStreamInput
- skipBytes(long) - Method in class org.opensearch.core.common.io.stream.BytesStreamInput
- skipChildren() - Method in class org.opensearch.core.xcontent.MapXContentParser
- skipChildren() - Method in interface org.opensearch.core.xcontent.XContentParser
- skipChildren() - Method in class org.opensearch.core.xcontent.XContentSubParser
- slice(int, int) - Method in class org.opensearch.core.common.bytes.BytesArray
- slice(int, int) - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Slice the bytes from the
fromindex up tolength. - slice(int, int) - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- slice(int, int) - Method in class org.opensearch.core.common.bytes.PagedBytesReference
- sort(BytesRefArray, int[]) - Static method in class org.opensearch.core.util.BytesRefUtils
- sortAndDedup(List<T>, Comparator<T>) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
In place de-duplicates items in a list Noop if the list is empty or has one item.
- sortAndDedup(BytesRefArray, int[]) - Static method in class org.opensearch.core.util.BytesRefUtils
- spaceify(int, String, StringBuilder) - Static method in class org.opensearch.core.common.Strings
- split(String, String) - Static method in class org.opensearch.core.common.Strings
-
Split a String at the first occurrence of the delimiter.
- splitStringByCommaToArray(String) - Static method in class org.opensearch.core.common.Strings
-
Split the specified string by commas to an array.
- STACK_TRACE - Static variable in exception class org.opensearch.OpenSearchException
- stackTrace(Throwable) - Static method in class org.opensearch.ExceptionsHelper
- START_ARRAY - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- START_OBJECT - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- startArray() - Method in class org.opensearch.core.xcontent.XContentBuilder
- startArray(String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- startObject() - Method in class org.opensearch.core.xcontent.XContentBuilder
- startObject(String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- stats() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- stats() - Method in class org.opensearch.core.indices.breaker.NoneCircuitBreakerService
- stats(String) - Method in class org.opensearch.core.indices.breaker.CircuitBreakerService
- stats(String) - Method in class org.opensearch.core.indices.breaker.NoneCircuitBreakerService
-
Always returns the same stats, a NoopCircuitBreaker never breaks and all operations are noops.
- status - Variable in class org.opensearch.core.action.ShardOperationFailedException
- status() - Method in class org.opensearch.core.action.ShardOperationFailedException
-
The status of the failure.
- status() - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
-
Always returns
RestStatus.TOO_MANY_REQUESTS - status() - Method in exception class org.opensearch.core.common.io.stream.NotSerializableExceptionWrapper
- status() - Method in exception class org.opensearch.core.common.ParsingException
- status() - Method in exception class org.opensearch.OpenSearchException
-
Returns the rest status code associated with this exception.
- status() - Method in exception class org.opensearch.OpenSearchParseException
- status(int, int, ShardOperationFailedException...) - Static method in enum org.opensearch.core.rest.RestStatus
- status(Throwable) - Static method in class org.opensearch.ExceptionsHelper
- streamInput() - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- streamInput() - Method in class org.opensearch.core.common.bytes.BytesArray
- streamInput() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
A stream input of the bytes.
- StreamInput - Class in org.opensearch.core.common.io.stream
-
A stream from this node to another node.
- StreamInput() - Constructor for class org.opensearch.core.common.io.stream.StreamInput
- StreamOutput - Class in org.opensearch.core.common.io.stream
-
A stream from another node to this node.
- StreamOutput() - Constructor for class org.opensearch.core.common.io.stream.StreamOutput
- streamSeparator() - Method in interface org.opensearch.core.xcontent.XContent
- string() - Method in class org.opensearch.core.common.text.Text
-
Returns a
Stringview of the data. - STRING - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- STRING_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- STRING_OR_NULL - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- stringHasLength(String) - Static method in class org.opensearch.Version
-
Check that the given String is neither
nullnor of length 0. - Strings - Class in org.opensearch.core.common
-
String utility class.
- stringToVersion - Static variable in class org.opensearch.LegacyESVersion
- subSequence(int, int) - Method in class org.opensearch.core.common.settings.SecureString
- substring(String, int, int) - Static method in class org.opensearch.core.common.Strings
-
Return substring(beginIndex, endIndex) that is impervious to string length.
- substringMatch(CharSequence, int, CharSequence) - Static method in class org.opensearch.core.common.Strings
-
Test whether the given string matches the given substring at the given index.
- subtype() - Method in interface org.opensearch.core.xcontent.MediaType
-
Returns a subtype part of a MediaType.
- summaryMessage(Throwable) - Static method in class org.opensearch.ExceptionsHelper
- supportedTokens() - Method in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- SWITCHING_PROTOCOLS - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server understands and is willing to comply with the client's request, via the Upgrade message header field (section 14.42), for a change in the application protocol being used on this connection.
T
- TAR - Enum constant in enum org.opensearch.Build.Type
- TaskCancelledException - Exception Class in org.opensearch.core.tasks
-
A generic exception that can be thrown by a task when it's cancelled by the task manager API
- TaskCancelledException(String) - Constructor for exception class org.opensearch.core.tasks.TaskCancelledException
- TaskCancelledException(StreamInput) - Constructor for exception class org.opensearch.core.tasks.TaskCancelledException
- TaskId - Class in org.opensearch.core.tasks
-
Task id that consists of node id and id of the task on the node
- TaskId(String) - Constructor for class org.opensearch.core.tasks.TaskId
- TaskId(String, long) - Constructor for class org.opensearch.core.tasks.TaskId
- TaskResourceInfo - Class in org.opensearch.core.tasks.resourcetracker
-
Task resource usage information with minimal information about the task
- TaskResourceInfo(String, long, long, String, TaskResourceUsage) - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- TaskResourceInfo.Builder - Class in org.opensearch.core.tasks.resourcetracker
-
Builder for
TaskResourceInfo - TaskResourceStats - Class in org.opensearch.core.tasks.resourcetracker
-
Resource information about a currently running task.
- TaskResourceStats(Map<String, TaskResourceUsage>, TaskThreadUsage) - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- TaskResourceStats(StreamInput) - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
-
Read from a stream.
- TaskResourceUsage - Class in org.opensearch.core.tasks.resourcetracker
-
Task resource usage information
- TaskResourceUsage(long, long) - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- TaskThreadUsage - Class in org.opensearch.core.tasks.resourcetracker
-
Task thread execution information.
- TaskThreadUsage(int, int) - Constructor for class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- TB - Enum constant in enum org.opensearch.core.common.unit.ByteSizeUnit
- TEMPORARY_REDIRECT - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource resides temporarily under a different URI.
- text() - Method in class org.opensearch.core.xcontent.MapXContentParser
- text() - Method in interface org.opensearch.core.xcontent.XContentParser
- text() - Method in class org.opensearch.core.xcontent.XContentSubParser
- Text - Class in org.opensearch.core.common.text
-
Both
StringandBytesReferencerepresentation of the text. - Text(String) - Constructor for class org.opensearch.core.common.text.Text
- Text(BytesReference) - Constructor for class org.opensearch.core.common.text.Text
- textCharacters() - Method in class org.opensearch.core.xcontent.MapXContentParser
- textCharacters() - Method in interface org.opensearch.core.xcontent.XContentParser
- textCharacters() - Method in class org.opensearch.core.xcontent.XContentSubParser
- textLength() - Method in class org.opensearch.core.xcontent.MapXContentParser
- textLength() - Method in interface org.opensearch.core.xcontent.XContentParser
- textLength() - Method in class org.opensearch.core.xcontent.XContentSubParser
- textOffset() - Method in class org.opensearch.core.xcontent.MapXContentParser
- textOffset() - Method in interface org.opensearch.core.xcontent.XContentParser
- textOffset() - Method in class org.opensearch.core.xcontent.XContentSubParser
- textOrNull() - Method in class org.opensearch.core.xcontent.AbstractXContentParser
- textOrNull() - Method in interface org.opensearch.core.xcontent.XContentParser
- textOrNull() - Method in class org.opensearch.core.xcontent.XContentSubParser
- THREAD_INFO - Static variable in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- threadLocalInputStream(InputStream) - Method in interface org.opensearch.core.compress.Compressor
-
Creates a new input stream that decompresses the contents read from the provided input stream.
- threadLocalInputStream(InputStream) - Method in class org.opensearch.core.compress.NoneCompressor
- threadLocalOutputStream(OutputStream) - Method in interface org.opensearch.core.compress.Compressor
-
Creates a new output stream that compresses the contents and writes to the provided output stream.
- threadLocalOutputStream(OutputStream) - Method in class org.opensearch.core.compress.NoneCompressor
- ThreadResourceInfo - Class in org.opensearch.core.tasks.resourcetracker
-
Resource consumption information about a particular execution of thread.
- ThreadResourceInfo(long, ResourceStatsType, ResourceUsageMetric...) - Constructor for class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- THROW_UNSUPPORTED_OPERATION - Static variable in interface org.opensearch.core.xcontent.DeprecationHandler
-
Throws an
UnsupportedOperationExceptionwhen parsing hits a deprecated field. - throwUnknownField(String, XContentLocation) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
- throwUnknownToken(XContentParser.Token, XContentLocation) - Static method in class org.opensearch.core.xcontent.XContentParserUtils
- Tilde - Class in org.opensearch.semver.expr
-
Expression to evaluate version compatibility allowing patch version variability.
- Tilde() - Constructor for class org.opensearch.semver.expr.Tilde
- TILDE - Enum constant in enum org.opensearch.semver.SemverRange.RangeOperator
- TIME_ZONE - Static variable in class org.opensearch.core.ParseField.CommonFields
- timeField(String, Object) - Method in class org.opensearch.core.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.opensearch.core.xcontent.XContentBuilder
-
If the
humanReadableflag is set, writes both a formatted and unformatted version of the time value using the date transformer for theLongclass. - timeValue(Object) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Write a time-based value, if the value is null a null value is written, otherwise a date transformers lookup is performed.
- toArray(Collection<Integer>) - Static method in class org.opensearch.core.common.util.CollectionUtils
-
Converts a collection of Integers to an array of ints.
- toBiConsumer(ActionListener<Response>) - Static method in interface org.opensearch.core.action.ActionListener
-
Converts a listener to a
BiConsumerfor compatibility with theCompletableFutureapi. - toByteBuffers(BytesReference) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns an array of byte buffers from the given BytesReference.
- toBytes(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- toBytes(BytesReference) - Static method in interface org.opensearch.core.common.bytes.BytesReference
-
Returns a compact array from the given BytesReference.
- toBytesRef() - Method in class org.opensearch.core.common.bytes.BytesArray
- toBytesRef() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Converts to Lucene BytesRef.
- toBytesRef() - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- toBytesRef() - Method in class org.opensearch.core.common.bytes.PagedBytesReference
- toBytesWithoutCompact(BytesReference) - Static method in interface org.opensearch.core.common.bytes.BytesReference
- toGB(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- toIntBytes(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
-
Convert to an
intnumber of bytes. - toKB(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- tokenizeByCommaToSet(String) - Static method in class org.opensearch.core.common.Strings
-
Tokenize the specified string by commas to a set, trimming whitespace and ignoring empty tokens.
- tokenizeToStringArray(String, String) - Static method in class org.opensearch.core.common.Strings
-
Tokenize the given String into a String array via a StringTokenizer.
- toLowercaseAscii(String) - Static method in class org.opensearch.core.common.Strings
- toMB(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- TOO_MANY_REQUESTS - Enum constant in enum org.opensearch.core.rest.RestStatus
-
429 Too Many Requests (RFC6585)
- toPB(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- toString() - Method in class org.opensearch.Build
- toString() - Method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- toString() - Method in class org.opensearch.core.common.settings.SecureString
-
Convert to a
String. - toString() - Method in class org.opensearch.core.common.text.Text
- toString() - Method in class org.opensearch.core.common.transport.BoundTransportAddress
- toString() - Method in class org.opensearch.core.common.transport.TransportAddress
- toString() - Method in class org.opensearch.core.common.unit.ByteSizeValue
- toString() - Method in class org.opensearch.core.index.Index
-
Returns either the name and unique identifier of the index or only the name if the uuid is
Strings.UNKNOWN_UUID_VALUE. - toString() - Method in class org.opensearch.core.index.shard.ShardId
-
Returns a string representation of this shard id.
- toString() - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Returns a String representation of this CircuitBreakerStats
- toString() - Method in class org.opensearch.core.ParseField
- toString() - Method in enum org.opensearch.core.tasks.resourcetracker.ResourceStats
- toString() - Method in enum org.opensearch.core.tasks.resourcetracker.ResourceStatsType
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo.ResourceStatsInfo
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.ResourceUsageInfo
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- toString() - Method in class org.opensearch.core.tasks.resourcetracker.ThreadResourceInfo
- toString() - Method in class org.opensearch.core.tasks.TaskId
- toString() - Method in class org.opensearch.core.transport.TransportResponse.Empty
- toString() - Method in class org.opensearch.core.xcontent.filtering.FilterPath
- toString() - Method in class org.opensearch.core.xcontent.ObjectParser
- toString() - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Returns a string representation of the builder (only applicable for text based xcontent).
- toString() - Method in class org.opensearch.core.xcontent.XContentLocation
- toString() - Method in class org.opensearch.LegacyESVersion
- toString() - Method in exception class org.opensearch.OpenSearchException
- toString() - Method in class org.opensearch.semver.SemverRange
- toString() - Method in class org.opensearch.Version
- toString(MediaType, ToXContent) - Static method in class org.opensearch.core.common.Strings
-
Return a
Stringthat is the json representation of the providedToXContent. - toString(MediaType, ToXContent, boolean, boolean) - Static method in class org.opensearch.core.common.Strings
-
Return a
Stringthat is the json representation of the providedToXContent. - toString(MediaType, ToXContent, ToXContent.Params) - Static method in class org.opensearch.core.common.Strings
-
Return a
Stringthat is the json representation of the providedToXContent. - toStringArray(Collection<String>) - Static method in class org.opensearch.core.common.Strings
-
Copy the given Collection into a String array.
- toTB(long) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- toUTF8Bytes(CharSequence) - Static method in class org.opensearch.core.common.Strings
- toUTF8Bytes(CharSequence, BytesRefBuilder) - Static method in class org.opensearch.core.common.Strings
- toXContent(ToXContent, MediaType, boolean) - Static method in class org.opensearch.core.xcontent.XContentHelper
-
Deprecated.
- toXContent(ToXContent, MediaType, ToXContent.Params, boolean) - Static method in class org.opensearch.core.xcontent.XContentHelper
-
Returns the bytes that represent the XContent output of the provided
ToXContentobject, using the providedMediaType. - toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.common.text.Text
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.common.transport.TransportAddress
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.common.unit.ByteSizeValue
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.index.Index
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.index.shard.ShardId
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- toXContent(XContentBuilder, ToXContent.Params) - Method in interface org.opensearch.core.xcontent.ToXContent
- toXContent(XContentBuilder, ToXContent.Params) - Method in exception class org.opensearch.OpenSearchException
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.semver.SemverRange
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.opensearch.Version
- ToXContent - Interface in org.opensearch.core.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder. - ToXContent.DelegatingMapParams - Class in org.opensearch.core.xcontent
-
Delegates mapped parameters to base Params class
- ToXContent.MapParams - Class in org.opensearch.core.xcontent
-
Mapped parameter base class
- ToXContent.Params - Interface in org.opensearch.core.xcontent
-
Base parameters class
- ToXContentFragment - Interface in org.opensearch.core.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder. - ToXContentObject - Interface in org.opensearch.core.xcontent
-
An interface allowing to transfer an object to "XContent" using an
XContentBuilder. - TRANSIENT - Enum constant in enum org.opensearch.core.common.breaker.CircuitBreaker.Durability
-
The condition that tripped the circuit breaker fixes itself eventually.
- TransportAddress - Class in org.opensearch.core.common.transport
-
A transport address used for IP socket address (wraps
InetSocketAddress). - TransportAddress(InetAddress, int) - Constructor for class org.opensearch.core.common.transport.TransportAddress
- TransportAddress(InetSocketAddress) - Constructor for class org.opensearch.core.common.transport.TransportAddress
-
Creates a new
TransportAddressfrom aInetSocketAddress. - TransportAddress(StreamInput) - Constructor for class org.opensearch.core.common.transport.TransportAddress
-
Creates a new
TransportAddressfrom aStreamInput. - TransportMessage - Class in org.opensearch.core.transport
-
Message over the transport interface
- TransportMessage() - Constructor for class org.opensearch.core.transport.TransportMessage
-
Constructs a new empty transport message
- TransportMessage(StreamInput) - Constructor for class org.opensearch.core.transport.TransportMessage
-
Constructs a new transport message with the data from the
StreamInput. - TransportResponse - Class in org.opensearch.core.transport
-
Response over the transport interface
- TransportResponse() - Constructor for class org.opensearch.core.transport.TransportResponse
-
Constructs a new empty transport response
- TransportResponse(StreamInput) - Constructor for class org.opensearch.core.transport.TransportResponse
-
Constructs a new transport response with the data from the
StreamInput. - TransportResponse.Empty - Class in org.opensearch.core.transport
-
Empty transport response
- trimLeadingCharacter(String, char) - Static method in class org.opensearch.core.common.Strings
-
Trim all occurrences of the supplied leading character from the given String.
- type() - Method in class org.opensearch.Build
- type() - Method in interface org.opensearch.core.xcontent.MediaType
-
Returns a type part of a MediaType i.e.
- typeWithSubtype() - Method in interface org.opensearch.core.xcontent.MediaType
-
returns a string representation of a media type.
U
- UNAUTHORIZED - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The request requires user authentication.
- uncompress(BytesReference) - Method in interface org.opensearch.core.compress.Compressor
-
Decompress bytes into a newly allocated buffer.
- uncompress(BytesReference) - Static method in class org.opensearch.core.compress.CompressorRegistry
-
Decompress the provided
BytesReference. - uncompress(BytesReference) - Method in class org.opensearch.core.compress.NoneCompressor
- uncompressIfNeeded(BytesReference) - Static method in class org.opensearch.core.compress.CompressorRegistry
-
Uncompress the provided data, data can be detected as compressed using
CompressorRegistry.isCompressed(BytesReference). - UNKNOWN - Enum constant in enum org.opensearch.Build.Type
- UNKNOWN - Static variable in class org.opensearch.core.xcontent.XContentLocation
- UNKNOWN_INDEX_NAME - Static variable in class org.opensearch.core.index.Index
- UNKNOWN_POSITION - Static variable in exception class org.opensearch.core.common.ParsingException
- UNKNOWN_UUID_VALUE - Static variable in class org.opensearch.core.common.Strings
- UNKNOWN_VERSION_ADDED - Static variable in exception class org.opensearch.OpenSearchException
- UNPROCESSABLE_ENTITY - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions.
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
- unwrap(Throwable, Class<?>...) - Static method in class org.opensearch.ExceptionsHelper
-
Looks at the given Throwable and its cause(s) and returns the first Throwable that is of one of the given classes or
nullif no matching Throwable is found. - unwrapCause() - Method in exception class org.opensearch.OpenSearchException
-
Unwraps the actual cause from the exception for cases when the exception is a
OpenSearchWrapperException. - unwrapCause(Throwable) - Static method in class org.opensearch.ExceptionsHelper
- unwrapCausesAndSuppressed(Throwable, Predicate<Throwable>) - Static method in class org.opensearch.ExceptionsHelper
- unwrapCorruption(Throwable) - Static method in class org.opensearch.ExceptionsHelper
-
Looks at the given Throwable's and its cause(s) as well as any suppressed exceptions on the Throwable as well as its causes and returns the first corruption indicating exception (as defined by
ExceptionsHelper.CORRUPTION_EXCEPTIONS) it finds. - USE_PROXY - Enum constant in enum org.opensearch.core.rest.RestStatus
-
The requested resource MUST be accessed through the proxy given by the Location field.
- usedDeprecatedField(String, Supplier<XContentLocation>, String) - Method in interface org.opensearch.core.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.opensearch.core.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.opensearch.core.xcontent.DeprecationHandler
-
Called when the provided field name matches a deprecated name for the field.
- useOrSuppress(T, T) - Static method in class org.opensearch.ExceptionsHelper
- usePrettyPrint() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- usePrintLineFeedAtEnd() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- utf8ToString() - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- utf8ToString() - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Interprets the referenced bytes as UTF8 bytes, returning the resulting string
- utf8Value(byte[], int, int) - Method in class org.opensearch.core.xcontent.XContentBuilder
-
Writes the binary content of the given byte array as UTF-8 bytes.
V
- V_1_0_0 - Static variable in class org.opensearch.Version
- V_1_1_0 - Static variable in class org.opensearch.Version
- V_1_2_0 - Static variable in class org.opensearch.Version
- V_1_2_1 - Static variable in class org.opensearch.Version
- V_1_2_2 - Static variable in class org.opensearch.Version
- V_1_2_3 - Static variable in class org.opensearch.Version
- V_1_2_4 - Static variable in class org.opensearch.Version
- V_1_2_5 - Static variable in class org.opensearch.Version
- V_1_3_0 - Static variable in class org.opensearch.Version
- V_1_3_1 - Static variable in class org.opensearch.Version
- V_1_3_10 - Static variable in class org.opensearch.Version
- V_1_3_11 - Static variable in class org.opensearch.Version
- V_1_3_12 - Static variable in class org.opensearch.Version
- V_1_3_13 - Static variable in class org.opensearch.Version
- V_1_3_14 - Static variable in class org.opensearch.Version
- V_1_3_15 - Static variable in class org.opensearch.Version
- V_1_3_16 - Static variable in class org.opensearch.Version
- V_1_3_17 - Static variable in class org.opensearch.Version
- V_1_3_18 - Static variable in class org.opensearch.Version
- V_1_3_2 - Static variable in class org.opensearch.Version
- V_1_3_3 - Static variable in class org.opensearch.Version
- V_1_3_4 - Static variable in class org.opensearch.Version
- V_1_3_5 - Static variable in class org.opensearch.Version
- V_1_3_6 - Static variable in class org.opensearch.Version
- V_1_3_7 - Static variable in class org.opensearch.Version
- V_1_3_8 - Static variable in class org.opensearch.Version
- V_1_3_9 - Static variable in class org.opensearch.Version
- V_2_0_0 - Static variable in class org.opensearch.Version
- V_2_0_1 - Static variable in class org.opensearch.Version
- V_2_0_2 - Static variable in class org.opensearch.Version
- V_2_1_0 - Static variable in class org.opensearch.Version
- V_2_1_1 - Static variable in class org.opensearch.Version
- V_2_10_0 - Static variable in class org.opensearch.Version
- V_2_10_1 - Static variable in class org.opensearch.Version
- V_2_11_0 - Static variable in class org.opensearch.Version
- V_2_11_1 - Static variable in class org.opensearch.Version
- V_2_11_2 - Static variable in class org.opensearch.Version
- V_2_12_0 - Static variable in class org.opensearch.Version
- V_2_12_1 - Static variable in class org.opensearch.Version
- V_2_13_0 - Static variable in class org.opensearch.Version
- V_2_13_1 - Static variable in class org.opensearch.Version
- V_2_14_0 - Static variable in class org.opensearch.Version
- V_2_14_1 - Static variable in class org.opensearch.Version
- V_2_15_0 - Static variable in class org.opensearch.Version
- V_2_2_0 - Static variable in class org.opensearch.Version
- V_2_2_1 - Static variable in class org.opensearch.Version
- V_2_2_2 - Static variable in class org.opensearch.Version
- V_2_3_0 - Static variable in class org.opensearch.Version
- V_2_3_1 - Static variable in class org.opensearch.Version
- V_2_4_0 - Static variable in class org.opensearch.Version
- V_2_4_1 - Static variable in class org.opensearch.Version
- V_2_4_2 - Static variable in class org.opensearch.Version
- V_2_5_0 - Static variable in class org.opensearch.Version
- V_2_5_1 - Static variable in class org.opensearch.Version
- V_2_6_0 - Static variable in class org.opensearch.Version
- V_2_6_1 - Static variable in class org.opensearch.Version
- V_2_7_0 - Static variable in class org.opensearch.Version
- V_2_7_1 - Static variable in class org.opensearch.Version
- V_2_8_0 - Static variable in class org.opensearch.Version
- V_2_8_1 - Static variable in class org.opensearch.Version
- V_2_9_0 - Static variable in class org.opensearch.Version
- V_2_9_1 - Static variable in class org.opensearch.Version
- V_7_0_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_0_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_1_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_1_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_10_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_10_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_10_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_2_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_2_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_3_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_3_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_3_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_4_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_4_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_4_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_5_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_5_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_5_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_6_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_6_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_6_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_7_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_7_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_8_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_8_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_9_0 - Static variable in class org.opensearch.LegacyESVersion
- V_7_9_1 - Static variable in class org.opensearch.LegacyESVersion
- V_7_9_2 - Static variable in class org.opensearch.LegacyESVersion
- V_7_9_3 - Static variable in class org.opensearch.LegacyESVersion
- V_EMPTY - Static variable in class org.opensearch.Version
- V_EMPTY_ID - Static variable in class org.opensearch.Version
- validFileName(String) - Static method in class org.opensearch.core.common.Strings
- validFileNameExcludingAstrix(String) - Static method in class org.opensearch.core.common.Strings
- value(boolean) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(byte) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(byte[]) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(byte[], int, int) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(float) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(int) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(long) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(short) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Boolean) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Byte) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Double) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Float) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Integer) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Long) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Object) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Short) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(String) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(BigDecimal) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(BigInteger) - Method in class org.opensearch.core.xcontent.XContentBuilder
- value(Path) - Method in class org.opensearch.core.xcontent.XContentBuilder
- VALUE - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- VALUE_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- VALUE_BOOLEAN - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- VALUE_EMBEDDED_OBJECT - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- VALUE_NULL - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- VALUE_NUMBER - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- VALUE_OBJECT_ARRAY - Enum constant in enum org.opensearch.core.xcontent.ObjectParser.ValueType
- VALUE_STRING - Enum constant in enum org.opensearch.core.xcontent.XContentParser.Token
- valueOf(String) - Static method in enum org.opensearch.Build.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.common.breaker.CircuitBreaker.Durability
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.common.unit.ByteSizeUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.rest.RestStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.tasks.resourcetracker.ResourceStats
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.tasks.resourcetracker.ResourceStatsType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.xcontent.ObjectParser.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.xcontent.XContentParser.NumberType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.core.xcontent.XContentParser.Token
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opensearch.semver.SemverRange.RangeOperator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opensearch.Build.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.common.breaker.CircuitBreaker.Durability
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.common.breaker.CircuitBreaker.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.common.unit.ByteSizeUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.rest.RestStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.tasks.resourcetracker.ResourceStats
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.tasks.resourcetracker.ResourceStatsType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opensearch.core.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.opensearch.core.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.opensearch.core.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.opensearch.semver.SemverRange.RangeOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in org.opensearch
-
OpenSearch Version Class
- VersionedNamedWriteable - Interface in org.opensearch.core.common.io.stream
-
A
NamedWriteablethat has a minimum version associated with it.
W
- withAllDeprecated() - Method in class org.opensearch.core.ParseField
-
Return a new ParseField where all field names are deprecated with no replacement
- withAllDeprecated(String) - Method in class org.opensearch.core.ParseField
-
Return a new ParseField where all field names are deprecated and replaced with
allReplacedWith. - withDeprecation(String...) - Method in class org.opensearch.core.ParseField
- WORKER_STATS - Enum constant in enum org.opensearch.core.tasks.resourcetracker.ResourceStatsType
- wrap(byte[]) - Static method in class org.opensearch.core.common.io.stream.StreamInput
- wrap(byte[], int, int) - Static method in class org.opensearch.core.common.io.stream.StreamInput
- wrap(Runnable) - Static method in interface org.opensearch.core.action.ActionListener
-
Creates a listener that listens for a response (or failure) and executes the corresponding runnable when the response (or failure) is received.
- wrap(CheckedConsumer<Response, ? extends Exception>, Consumer<Exception>) - Static method in interface org.opensearch.core.action.ActionListener
-
Creates a listener that listens for a response (or failure) and executes the corresponding consumer when the response (or failure) is received.
- write(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- write(int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- write(StreamOutput, V) - Method in interface org.opensearch.core.common.io.stream.Writeable.Writer
-
Write
V-typevalueto theoutput stream. - write(XContentBuilder, Object) - Method in interface org.opensearch.core.xcontent.XContentBuilder.Writer
- Writeable - Interface in org.opensearch.core.common.io.stream
-
Implementers can be written to a StreamOutput and read from a StreamInput.
- Writeable.Reader<V> - Interface in org.opensearch.core.common.io.stream
-
Reference to a method that can read some object from a stream.
- Writeable.WriteableRegistry - Class in org.opensearch.core.common.io.stream
-
A WriteableRegistry registers
Writeable.Writermethods for writing data types over aStreamOutputchannel andWriteable.Readermethods for reading data from aStreamInputchannel. - Writeable.Writer<V> - Interface in org.opensearch.core.common.io.stream
-
Reference to a method that can write some object to a
StreamOutput. - WriteableRegistry() - Constructor for class org.opensearch.core.common.io.stream.Writeable.WriteableRegistry
- writeArray(Writeable.Writer<T>, T[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes the specified array to the stream using the specified
Writeable.Writerfor each element in the array. - writeArray(T[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes the specified array of
Writeables. - writeBigInteger(BigInteger) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeBinary(byte[]) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeBinary(byte[], int, int) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeBinaryField(String, byte[]) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeBoolean(boolean) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a boolean.
- writeBoolean(boolean) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeBooleanField(String, boolean) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeBuild(Build) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes the OpenSearch
Buildinformn to the output stream - writeByte(byte) - Method in class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- writeByte(byte) - Method in class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
- writeByte(byte) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a single byte.
- writeByteArray(byte[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an array of bytes.
- writeBytes(byte[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an array of bytes.
- writeBytes(byte[], int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an array of bytes.
- writeBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.DataOutputStreamOutput
- writeBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.OutputStreamStreamOutput
- writeBytes(byte[], int, int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an array of bytes.
- writeBytesRef(BytesRef) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeBytesReference(BytesReference) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes the bytes reference, including a length header.
- writeCollection(Collection<? extends Writeable>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a collection to this stream.
- writeCollection(Collection<T>, Writeable.Writer<T>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a collection of objects via a
Writeable.Writer. - writeDouble(double) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeDoubleArray(double[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeEndArray() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeEndObject() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeEnum(E) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an enum with type E based on its ordinal value
- writeEnumSet(EnumSet<E>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an EnumSet with type E that by serialized it based on it's ordinal value
- writeException(Throwable) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeFieldName(String) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeFloat(float) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeFloatArray(float[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeGenericValue(Object) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Notice: when serialization a map, the stream out map with the stream in map maybe have the different key-value orders, they will maybe have different stream order.
- writeInstant(Instant) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an
Instantto the stream with nanosecond resolution - writeInt(int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an int as four bytes.
- writeIntArray(int[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeList(List<? extends Writeable>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a list of
Writeableobjects - writeLong(long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a long as eight bytes.
- writeLongArray(long[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeMap(Map<String, Object>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeMap(Map<K, V>, Writeable.Writer<K>, Writeable.Writer<V>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeMapOfLists(Map<K, List<V>>, Writeable.Writer<K>, Writeable.Writer<V>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeMapWithConsistentOrder(Map<String, ? extends Object>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
write map to stream with consistent order to make sure every map generated bytes order are same.
- writeNamedWriteable(NamedWriteable) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a
NamedWriteableto the current stream, by first writing its name and then the object itself - writeNamedWriteableList(List<? extends NamedWriteable>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a list of
NamedWriteableobjects. - writeNull() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNullField(String) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(double) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(float) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(int) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(long) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(short) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(BigDecimal) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumber(BigInteger) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, double) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, float) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, int) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, long) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, BigDecimal) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeNumberField(String, BigInteger) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeOptionalArray(Writeable.Writer<T>, T[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Same as
StreamOutput.writeArray(Writer, Object[])but the provided array may be null. - writeOptionalArray(T[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Same as
StreamOutput.writeArray(Writeable[])but the provided array may be null. - writeOptionalBoolean(Boolean) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalBytesReference(BytesReference) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an optional bytes reference including a length header.
- writeOptionalDouble(Double) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalFloat(Float) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalInstant(Instant) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an
Instantto the stream, which could possibly be null - writeOptionalInt(Integer) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an optional
Integer. - writeOptionalLong(Long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalNamedWriteable(NamedWriteable) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Write an optional
NamedWriteableto the stream. - writeOptionalSecureString(SecureString) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalString(String) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalStringArray(String[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a string array, for nullable string, writes false.
- writeOptionalStringCollection(Collection<String>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an optional collection of a strings.
- writeOptionalText(Text) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalTimeValue(TimeValue) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Write an optional
TimeValueto the stream. - writeOptionalVInt(Integer) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalVLong(Long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalWriteable(Writeable) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeOptionalZoneId(ZoneId) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Write an optional ZoneId to the stream.
- writeRawField(String, InputStream) - Method in interface org.opensearch.core.xcontent.XContentGenerator
-
Deprecated.use
XContentGenerator.writeRawField(String, InputStream, MediaType)to avoid content type auto-detection - writeRawField(String, InputStream, MediaType) - Method in interface org.opensearch.core.xcontent.XContentGenerator
-
Writes a raw field with the value taken from the bytes in the stream
- writeRawValue(InputStream, MediaType) - Method in interface org.opensearch.core.xcontent.XContentGenerator
-
Writes a raw value taken from the bytes in the stream
- writeSecureString(SecureString) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeSemverRange(SemverRange) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeShort(short) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeStackTraces(T, StreamOutput, Writeable.Writer<Throwable>) - Static method in exception class org.opensearch.OpenSearchException
-
Serializes the given exceptions stacktrace elements as well as it's suppressed exceptions to the given output stream.
- writeStartArray() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeStartObject() - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeString(char[], int, int) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeString(String) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeString(String) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeStringArray(String[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeStringArrayNullable(String[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a string array, for nullable string, writes it as 0 (empty string).
- writeStringCollection(Collection<String>) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a collection of a strings.
- writeStringField(String, String) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeText(Text) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeTimeValue(TimeValue) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Write a
TimeValueto the stream - writeTo(OutputStream) - Method in class org.opensearch.core.common.bytes.AbstractBytesReference
- writeTo(OutputStream) - Method in class org.opensearch.core.common.bytes.BytesArray
- writeTo(OutputStream) - Method in interface org.opensearch.core.common.bytes.BytesReference
-
Writes the bytes directly to the output stream.
- writeTo(OutputStream) - Method in class org.opensearch.core.common.bytes.CompositeBytesReference
- writeTo(StreamOutput) - Method in class org.opensearch.core.action.support.DefaultShardOperationFailedException
- writeTo(StreamOutput) - Method in exception class org.opensearch.core.common.breaker.CircuitBreakingException
- writeTo(StreamOutput) - Method in exception class org.opensearch.core.common.io.stream.NotSerializableExceptionWrapper
- writeTo(StreamOutput) - Method in interface org.opensearch.core.common.io.stream.Writeable
-
Write this into the StreamOutput.
- writeTo(StreamOutput) - Method in exception class org.opensearch.core.common.ParsingException
- writeTo(StreamOutput) - Method in class org.opensearch.core.common.transport.BoundTransportAddress
- writeTo(StreamOutput) - Method in class org.opensearch.core.common.transport.TransportAddress
- writeTo(StreamOutput) - Method in enum org.opensearch.core.common.unit.ByteSizeUnit
- writeTo(StreamOutput) - Method in class org.opensearch.core.common.unit.ByteSizeValue
- writeTo(StreamOutput) - Method in class org.opensearch.core.index.Index
-
Writes the name and unique identifier to the
StreamOutput - writeTo(StreamOutput) - Method in class org.opensearch.core.index.shard.ShardId
-
Writes this shard id to a stream.
- writeTo(StreamOutput) - Method in class org.opensearch.core.indices.breaker.AllCircuitBreakerStats
-
Writes this instance into a
StreamOutput - writeTo(StreamOutput) - Method in class org.opensearch.core.indices.breaker.CircuitBreakerStats
-
Writes this instance into a
StreamOutput - writeTo(StreamOutput) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceInfo
- writeTo(StreamOutput) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceStats
- writeTo(StreamOutput) - Method in class org.opensearch.core.tasks.resourcetracker.TaskResourceUsage
- writeTo(StreamOutput) - Method in class org.opensearch.core.tasks.resourcetracker.TaskThreadUsage
- writeTo(StreamOutput) - Method in class org.opensearch.core.tasks.TaskId
- writeTo(StreamOutput) - Method in class org.opensearch.core.transport.TransportResponse.Empty
- writeTo(StreamOutput) - Method in exception class org.opensearch.OpenSearchException
- writeTo(StreamOutput, RestStatus) - Static method in enum org.opensearch.core.rest.RestStatus
- writeUTF8String(byte[], int, int) - Method in interface org.opensearch.core.xcontent.XContentGenerator
- writeVersion(Version) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes the OpenSearch
Versionto the output stream - writeVInt(int) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes an int in a variable-length format.
- writeVIntArray(int[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeVLong(long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a non-negative long in a variable-length format.
- writeVLongArray(long[]) - Method in class org.opensearch.core.common.io.stream.StreamOutput
- writeVLongNoCheck(long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a long in a variable-length format without first checking if it is negative.
- writeZLong(long) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Writes a long in a variable-length format.
- writeZoneId(ZoneId) - Method in class org.opensearch.core.common.io.stream.StreamOutput
-
Write a ZoneId to the stream.
X
- xContent() - Method in interface org.opensearch.core.xcontent.MediaType
- xContent(byte[]) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
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.opensearch.core.xcontent.MediaTypeRegistry
-
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(CharSequence) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
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 - Interface in org.opensearch.core.xcontent
-
A generic abstraction on top of handling content, inspired by JSON and pull parsing.
- XContentBuilder - Class in org.opensearch.core.xcontent
-
A utility to build XContent (ie json).
- XContentBuilder(XContent, OutputStream) - Constructor for class org.opensearch.core.xcontent.XContentBuilder
-
Constructs a new builder using the provided XContent and an OutputStream.
- XContentBuilder(XContent, OutputStream, Set<String>) - Constructor for class org.opensearch.core.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.opensearch.core.xcontent.XContentBuilder
-
Creates a new builder using the provided XContent, output stream and some inclusive and/or exclusive filters.
- XContentBuilder.HumanReadableTransformer - Interface in org.opensearch.core.xcontent
-
Interface for transforming complex objects into their "raw" equivalents for human-readable fields
- XContentBuilder.Writer - Interface in org.opensearch.core.xcontent
-
The writer interface for the serializable content builder
- XContentBuilderExtension - Interface in org.opensearch.core.xcontent
-
This interface provides a way for non-JDK classes to plug in a way to serialize to xcontent.
- XContentGenerator - Interface in org.opensearch.core.xcontent
-
Base class to generate serializable content
- XContentHelper - Class in org.opensearch.core.xcontent
-
Core XContent Helper Utilities
- XContentLocation - Class in org.opensearch.core.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.opensearch.core.xcontent.XContentLocation
- XContentParseException - Exception Class in org.opensearch.core.xcontent
-
Thrown when one of the XContent parsers cannot parse something.
- XContentParseException(String) - Constructor for exception class org.opensearch.core.xcontent.XContentParseException
- XContentParseException(XContentLocation, String) - Constructor for exception class org.opensearch.core.xcontent.XContentParseException
- XContentParseException(XContentLocation, String, Exception) - Constructor for exception class org.opensearch.core.xcontent.XContentParseException
- XContentParser - Interface in org.opensearch.core.xcontent
-
Interface for pull - parsing
XContentseeXContentTypefor supported types. - XContentParser.NumberType - Enum in org.opensearch.core.xcontent
-
Supported numeric types
- XContentParser.Token - Enum in org.opensearch.core.xcontent
-
Supported serializable tokens
- XContentParserUtils - Class in org.opensearch.core.xcontent
-
A set of static methods to get
XContentParser.TokenfromXContentParserwhile checking for their types and throwParsingExceptionif needed. - XContentSubParser - Class in org.opensearch.core.xcontent
-
Wrapper for a XContentParser that makes a single object/array look like a complete document.
- XContentSubParser(XContentParser) - Constructor for class org.opensearch.core.xcontent.XContentSubParser
- xContentType(InputStream) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
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.opensearch.core.xcontent.MediaTypeRegistry
-
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(BytesReference) - Static method in class org.opensearch.core.xcontent.MediaTypeRegistry
-
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.
Z
- ZERO - Static variable in class org.opensearch.core.common.unit.ByteSizeValue
- ZIP - Enum constant in enum org.opensearch.Build.Type
_
- _includeScalar() - Method in class org.opensearch.core.xcontent.filtering.FilterPathBasedFilter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form