Uses of Interface
org.elasticsearch.common.io.stream.Writeable.Reader
-
-
Uses of Writeable.Reader in org.elasticsearch.action
Classes in org.elasticsearch.action that implement Writeable.Reader Modifier and Type Class Description classActionListenerResponseHandler<Response extends TransportResponse>A simple base class for action response listeners, defaulting to using the SAME executor (as its very common on response handlers).Methods in org.elasticsearch.action that return Writeable.Reader Modifier and Type Method Description Writeable.Reader<Response>ActionType. getResponseReader()Get a reader that can create a new instance of the class from aStreamInputConstructors in org.elasticsearch.action with parameters of type Writeable.Reader Constructor Description ActionListenerResponseHandler(ActionListener<? super Response> listener, Writeable.Reader<Response> reader)ActionListenerResponseHandler(ActionListener<? super Response> listener, Writeable.Reader<Response> reader, String executor)ActionType(String name, Writeable.Reader<Response> responseReader) -
Uses of Writeable.Reader in org.elasticsearch.action.admin.indices.analyze
Methods in org.elasticsearch.action.admin.indices.analyze that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<AnalyzeAction.Response>TransportAnalyzeAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.action.admin.indices.mapping.get
Methods in org.elasticsearch.action.admin.indices.mapping.get that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<GetFieldMappingsResponse>TransportGetFieldMappingsIndexAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.action.bulk
Constructors in org.elasticsearch.action.bulk with parameters of type Writeable.Reader Constructor Description TransportSingleItemBulkWriteAction(String actionName, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<Request> requestReader, TransportBulkAction bulkAction)Deprecated. -
Uses of Writeable.Reader in org.elasticsearch.action.explain
Methods in org.elasticsearch.action.explain that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<ExplainResponse>TransportExplainAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.action.fieldcaps
Methods in org.elasticsearch.action.fieldcaps that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<FieldCapabilitiesIndexResponse>TransportFieldCapabilitiesIndexAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.action.get
Methods in org.elasticsearch.action.get that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<GetResponse>TransportGetAction. getResponseReader()protected Writeable.Reader<MultiGetShardResponse>TransportShardMultiGetAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.action.support
Constructors in org.elasticsearch.action.support with parameters of type Writeable.Reader Constructor Description HandledTransportAction(String actionName, boolean canTripCircuitBreaker, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<Request> requestReader)HandledTransportAction(String actionName, boolean canTripCircuitBreaker, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<Request> requestReader, String executor)HandledTransportAction(String actionName, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<Request> requestReader)HandledTransportAction(String actionName, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<Request> requestReader, String executor) -
Uses of Writeable.Reader in org.elasticsearch.action.support.broadcast
Constructors in org.elasticsearch.action.support.broadcast with parameters of type Writeable.Reader Constructor Description TransportBroadcastAction(String actionName, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request, Writeable.Reader<ShardRequest> shardRequest, String shardExecutor) -
Uses of Writeable.Reader in org.elasticsearch.action.support.broadcast.node
Constructors in org.elasticsearch.action.support.broadcast.node with parameters of type Writeable.Reader Constructor Description TransportBroadcastByNodeAction(String actionName, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request, String executor)TransportBroadcastByNodeAction(String actionName, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request, String executor, boolean canTripCircuitBreaker) -
Uses of Writeable.Reader in org.elasticsearch.action.support.master
Constructors in org.elasticsearch.action.support.master with parameters of type Writeable.Reader Constructor Description TransportMasterNodeAction(String actionName, boolean canTripCircuitBreaker, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)TransportMasterNodeAction(String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)TransportMasterNodeReadAction(String actionName, boolean checkSizeLimit, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver)TransportMasterNodeReadAction(String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver) -
Uses of Writeable.Reader in org.elasticsearch.action.support.master.info
Constructors in org.elasticsearch.action.support.master.info with parameters of type Writeable.Reader Constructor Description TransportClusterInfoAction(String actionName, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, Writeable.Reader<Request> request, IndexNameExpressionResolver indexNameExpressionResolver) -
Uses of Writeable.Reader in org.elasticsearch.action.support.nodes
Constructors in org.elasticsearch.action.support.nodes with parameters of type Writeable.Reader Constructor Description TransportNodesAction(String actionName, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<NodesRequest> request, Writeable.Reader<NodeRequest> nodeRequest, String nodeExecutor, Class<NodeResponse> nodeResponseClass) -
Uses of Writeable.Reader in org.elasticsearch.action.support.replication
Constructors in org.elasticsearch.action.support.replication with parameters of type Writeable.Reader Constructor Description ConcreteReplicaRequest(Writeable.Reader<R> requestReader, StreamInput in)ConcreteShardRequest(Writeable.Reader<R> requestReader, StreamInput in)TransportBroadcastReplicationAction(String name, Writeable.Reader<Request> requestReader, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, TransportReplicationAction replicatedBroadcastShardAction)TransportReplicationAction(Settings settings, String actionName, TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ShardStateAction shardStateAction, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> requestReader, Writeable.Reader<ReplicaRequest> replicaRequestReader, String executor)TransportReplicationAction(Settings settings, String actionName, TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ShardStateAction shardStateAction, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> requestReader, Writeable.Reader<ReplicaRequest> replicaRequestReader, String executor, boolean syncGlobalCheckpointAfterOperation, boolean forceExecutionOnPrimary)TransportWriteAction(Settings settings, String actionName, TransportService transportService, ClusterService clusterService, IndicesService indicesService, ThreadPool threadPool, ShardStateAction shardStateAction, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request, Writeable.Reader<ReplicaRequest> replicaRequest, String executor, boolean forceExecutionOnPrimary) -
Uses of Writeable.Reader in org.elasticsearch.action.support.single.instance
Constructors in org.elasticsearch.action.support.single.instance with parameters of type Writeable.Reader Constructor Description TransportInstanceSingleOperationAction(String actionName, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request) -
Uses of Writeable.Reader in org.elasticsearch.action.support.single.shard
Methods in org.elasticsearch.action.support.single.shard that return Writeable.Reader Modifier and Type Method Description protected abstract Writeable.Reader<Response>TransportSingleShardAction. getResponseReader()Constructors in org.elasticsearch.action.support.single.shard with parameters of type Writeable.Reader Constructor Description TransportSingleShardAction(String actionName, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Writeable.Reader<Request> request, String executor) -
Uses of Writeable.Reader in org.elasticsearch.action.support.tasks
Fields in org.elasticsearch.action.support.tasks declared as Writeable.Reader Modifier and Type Field Description protected Writeable.Reader<TasksRequest>TransportTasksAction. requestReaderprotected Writeable.Reader<TaskResponse>TransportTasksAction. responseReaderprotected Writeable.Reader<TasksResponse>TransportTasksAction. responsesReaderConstructors in org.elasticsearch.action.support.tasks with parameters of type Writeable.Reader Constructor Description TransportTasksAction(String actionName, ClusterService clusterService, TransportService transportService, ActionFilters actionFilters, Writeable.Reader<TasksRequest> requestReader, Writeable.Reader<TasksResponse> responsesReader, Writeable.Reader<TaskResponse> responseReader, String nodeExecutor) -
Uses of Writeable.Reader in org.elasticsearch.action.termvectors
Methods in org.elasticsearch.action.termvectors that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<MultiTermVectorsShardResponse>TransportShardMultiTermsVectorAction. getResponseReader()protected Writeable.Reader<TermVectorsResponse>TransportTermVectorsAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.cluster
Methods in org.elasticsearch.cluster with parameters of type Writeable.Reader Modifier and Type Method Description static <T extends Diffable<T>>
Diff<T>AbstractDiffable. readDiffFrom(Writeable.Reader<T> reader, StreamInput in)static <T extends Diffable<T>>
DiffableUtils.MapDiff<Integer,T,ImmutableOpenIntMap<T>>DiffableUtils. readImmutableOpenIntMapDiff(StreamInput in, DiffableUtils.KeySerializer<Integer> keySerializer, Writeable.Reader<T> reader, Writeable.Reader<Diff<T>> diffReader)Loads an object that represents difference between two ImmutableOpenIntMaps of Diffable objects using Diffable proto objectstatic <K,T extends Diffable<T>>
DiffableUtils.MapDiff<K,T,ImmutableOpenMap<K,T>>DiffableUtils. readImmutableOpenMapDiff(StreamInput in, DiffableUtils.KeySerializer<K> keySerializer, Writeable.Reader<T> reader, Writeable.Reader<Diff<T>> diffReader)Loads an object that represents difference between two ImmutableOpenMaps of Diffable objects using Diffable proto objectstatic <K,T extends Diffable<T>>
DiffableUtils.MapDiff<K,T,Map<K,T>>DiffableUtils. readJdkMapDiff(StreamInput in, DiffableUtils.KeySerializer<K> keySerializer, Writeable.Reader<T> reader, Writeable.Reader<Diff<T>> diffReader)Loads an object that represents difference between two Maps of Diffable objects using Diffable proto objectConstructors in org.elasticsearch.cluster with parameters of type Writeable.Reader Constructor Description DiffableValueReader(Writeable.Reader<V> reader, Writeable.Reader<Diff<V>> diffReader) -
Uses of Writeable.Reader in org.elasticsearch.common.io.stream
Fields in org.elasticsearch.common.io.stream declared as Writeable.Reader Modifier and Type Field Description Writeable.Reader<?>NamedWriteableRegistry.Entry. readerA reader capability of readingMethods in org.elasticsearch.common.io.stream that return Writeable.Reader Modifier and Type Method Description <T> Writeable.Reader<? extends T>NamedWriteableRegistry. getReader(Class<T> categoryClass, String name)Returns a reader for aNamedWriteableobject identified by the name provided as argument and its category.Methods in org.elasticsearch.common.io.stream with parameters of type Writeable.Reader Modifier and Type Method Description <T> T[]StreamInput. readArray(Writeable.Reader<T> reader, IntFunction<T[]> arraySupplier)Reads an array from the stream using the specifiedWriteable.Readerto read array elements from the stream.<T> List<T>StreamInput. readList(Writeable.Reader<T> reader)Reads a list of objects.<K,V>
Map<K,V>StreamInput. readMap(Writeable.Reader<K> keyReader, Writeable.Reader<V> valueReader)If the returned map contains any entries it will be mutable.<K,V>
Map<K,List<V>>StreamInput. readMapOfLists(Writeable.Reader<K> keyReader, Writeable.Reader<V> valueReader)<T> T[]StreamInput. readOptionalArray(Writeable.Reader<T> reader, IntFunction<T[]> arraySupplier)<T extends Writeable>
TStreamInput. readOptionalWriteable(Writeable.Reader<T> reader)<T> Set<T>StreamInput. readSet(Writeable.Reader<T> reader)Reads a set of objects.Constructors in org.elasticsearch.common.io.stream with parameters of type Writeable.Reader Constructor Description Entry(Class<T> categoryClass, String name, Writeable.Reader<? extends T> reader)Creates a new entry which can be stored by the registry. -
Uses of Writeable.Reader in org.elasticsearch.index.seqno
Methods in org.elasticsearch.index.seqno that return Writeable.Reader Modifier and Type Method Description protected Writeable.Reader<RetentionLeaseActions.Response>RetentionLeaseActions.Add.TransportAction. getResponseReader() -
Uses of Writeable.Reader in org.elasticsearch.plugins
Methods in org.elasticsearch.plugins that return Writeable.Reader Modifier and Type Method Description Writeable.Reader<? extends PipelineAggregator>SearchPlugin.PipelineAggregationSpec. getAggregatorReader()The reader for thePipelineAggregator.Writeable.Reader<? extends W>SearchPlugin.SearchExtensionSpec. getReader()The reader responsible for reading the behavior from the internode protocol.Writeable.Reader<? extends Suggest.Suggestion>SearchPlugin.SuggesterSpec. getSuggestionReader()Returns the reader used to read theSuggest.Suggestiongenerated by this suggesterMethods in org.elasticsearch.plugins that return types with arguments of type Writeable.Reader Modifier and Type Method Description Map<String,Writeable.Reader<? extends InternalAggregation>>SearchPlugin.AggregationSpec. getResultReaders()Get the readers that must be registered for this aggregation's results.Map<String,Writeable.Reader<? extends InternalAggregation>>SearchPlugin.PipelineAggregationSpec. getResultReaders()Get the readers that must be registered for this aggregation's results.Methods in org.elasticsearch.plugins with parameters of type Writeable.Reader Modifier and Type Method Description SearchPlugin.AggregationSpecSearchPlugin.AggregationSpec. addResultReader(String writeableName, Writeable.Reader<? extends InternalAggregation> resultReader)Add a reader for the shard level results of the aggregation.SearchPlugin.AggregationSpecSearchPlugin.AggregationSpec. addResultReader(Writeable.Reader<? extends InternalAggregation> resultReader)Add a reader for the shard level results of the aggregation with SearchPlugin.SearchExtensionSpec.getName()'sParseField.getPreferredName()as theNamedWriteable.getWriteableName().SearchPlugin.PipelineAggregationSpecSearchPlugin.PipelineAggregationSpec. addResultReader(String writeableName, Writeable.Reader<? extends InternalAggregation> resultReader)Add a reader for the shard level results of the aggregation.SearchPlugin.PipelineAggregationSpecSearchPlugin.PipelineAggregationSpec. addResultReader(Writeable.Reader<? extends InternalAggregation> resultReader)Add a reader for the shard level results of the aggregation with SearchPlugin.SearchExtensionSpec.getName()'sParseField.getPreferredName()as theNamedWriteable.getWriteableName(). -
Uses of Writeable.Reader in org.elasticsearch.search.aggregations.bucket.range
Constructors in org.elasticsearch.search.aggregations.bucket.range with parameters of type Writeable.Reader Constructor Description AbstractRangeBuilder(StreamInput in, InternalRange.Factory<?,?> rangeFactory, Writeable.Reader<R> rangeReader)Read from a stream. -
Uses of Writeable.Reader in org.elasticsearch.transport
Subinterfaces of Writeable.Reader in org.elasticsearch.transport Modifier and Type Interface Description interfaceTransportResponseHandler<T extends TransportResponse>Classes in org.elasticsearch.transport that implement Writeable.Reader Modifier and Type Class Description classEmptyTransportResponseHandlerclassFutureTransportResponseHandler<T extends TransportResponse>A response handler to be used when all interaction will be done through theTransportFuture.classPlainTransportFuture<V extends TransportResponse>static classTransportService.ContextRestoreResponseHandler<T extends TransportResponse>This handler wrapper ensures that the response thread executes with the correct thread context.Methods in org.elasticsearch.transport with parameters of type Writeable.Reader Modifier and Type Method Description static voidTransportActionProxy. registerProxyAction(TransportService service, String action, Writeable.Reader<? extends TransportResponse> reader)Registers a proxy request handler that allows to forward requests for the given action to another node.<Request extends TransportRequest>
voidTransportService. registerRequestHandler(String action, String executor, boolean forceExecution, boolean canTripCircuitBreaker, Writeable.Reader<Request> requestReader, TransportRequestHandler<Request> handler)Registers a new request handler<Request extends TransportRequest>
voidTransportService. registerRequestHandler(String action, String executor, Writeable.Reader<Request> requestReader, TransportRequestHandler<Request> handler)Registers a new request handlerdefault <Q extends TransportResponse>
TransportResponseHandler<Q>TransportResponseHandler. wrap(Function<Q,T> converter, Writeable.Reader<Q> reader)Method parameters in org.elasticsearch.transport with type arguments of type Writeable.Reader Modifier and Type Method Description static voidTransportActionProxy. registerProxyActionWithDynamicResponseType(TransportService service, String action, Function<TransportRequest,Writeable.Reader<? extends TransportResponse>> responseFunction)Registers a proxy request handler that allows to forward requests for the given action to another node.Constructors in org.elasticsearch.transport with parameters of type Writeable.Reader Constructor Description RequestHandlerRegistry(String action, Writeable.Reader<Request> requestReader, TaskManager taskManager, TransportRequestHandler<Request> handler, String executor, boolean forceExecution, boolean canTripCircuitBreaker)
-