Class ElasticsearchCatAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchCatAsyncClient>
co.elastic.clients.elasticsearch.cat.ElasticsearchCatAsyncClient
public class ElasticsearchCatAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchCatAsyncClient>
Client for the cat namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorDescriptionElasticsearchCatAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionaliases()
Shows information about currently configured aliases to indices including filter and routing infos.aliases
(AliasesRequest request) Shows information about currently configured aliases to indices including filter and routing infos.final CompletableFuture<AliasesResponse>
Shows information about currently configured aliases to indices including filter and routing infos.Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.allocation
(AllocationRequest request) Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.Returns information about existing component_templates templates.Returns information about existing component_templates templates.componentTemplates
(Function<ComponentTemplatesRequest.Builder, ObjectBuilder<ComponentTemplatesRequest>> fn) Returns information about existing component_templates templates.count()
Provides quick access to the document count of the entire cluster, or individual indices.count
(CountRequest request) Provides quick access to the document count of the entire cluster, or individual indices.final CompletableFuture<CountResponse>
Provides quick access to the document count of the entire cluster, or individual indices.Shows how much heap memory is currently being used by fielddata on every data node in the cluster.fielddata
(FielddataRequest request) Shows how much heap memory is currently being used by fielddata on every data node in the cluster.Shows how much heap memory is currently being used by fielddata on every data node in the cluster.health()
Returns a concise representation of the cluster health.health
(HealthRequest request) Returns a concise representation of the cluster health.final CompletableFuture<HealthResponse>
Returns a concise representation of the cluster health.help()
Returns help for the Cat APIs.indices()
Returns information about indices: number of primaries and replicas, document counts, disk size, ...indices
(IndicesRequest request) Returns information about indices: number of primaries and replicas, document counts, disk size, ...final CompletableFuture<IndicesResponse>
Returns information about indices: number of primaries and replicas, document counts, disk size, ...master()
Returns information about the master node.Gets configuration and usage information about datafeeds.mlDatafeeds
(MlDatafeedsRequest request) Gets configuration and usage information about datafeeds.Gets configuration and usage information about datafeeds.Gets configuration and usage information about data frame analytics jobs.Gets configuration and usage information about data frame analytics jobs.mlDataFrameAnalytics
(Function<MlDataFrameAnalyticsRequest.Builder, ObjectBuilder<MlDataFrameAnalyticsRequest>> fn) Gets configuration and usage information about data frame analytics jobs.mlJobs()
Gets configuration and usage information about anomaly detection jobs.mlJobs
(MlJobsRequest request) Gets configuration and usage information about anomaly detection jobs.final CompletableFuture<MlJobsResponse>
Gets configuration and usage information about anomaly detection jobs.Gets configuration and usage information about inference trained models.mlTrainedModels
(MlTrainedModelsRequest request) Gets configuration and usage information about inference trained models.Gets configuration and usage information about inference trained models.Returns information about custom node attributes.nodes()
Returns basic statistics about performance of cluster nodes.nodes
(NodesRequest request) Returns basic statistics about performance of cluster nodes.final CompletableFuture<NodesResponse>
Returns basic statistics about performance of cluster nodes.Returns a concise representation of the cluster pending tasks.plugins()
Returns information about installed plugins across nodes node.recovery()
Returns information about index shard recoveries, both on-going completed.recovery
(RecoveryRequest request) Returns information about index shard recoveries, both on-going completed.Returns information about index shard recoveries, both on-going completed.Returns information about snapshot repositories registered in the cluster.segments()
Provides low-level information about the segments in the shards of an index.segments
(SegmentsRequest request) Provides low-level information about the segments in the shards of an index.Provides low-level information about the segments in the shards of an index.shards()
Provides a detailed view of shard allocation on nodes.shards
(ShardsRequest request) Provides a detailed view of shard allocation on nodes.final CompletableFuture<ShardsResponse>
Provides a detailed view of shard allocation on nodes.Returns all snapshots in a specific repository.snapshots
(SnapshotsRequest request) Returns all snapshots in a specific repository.Returns all snapshots in a specific repository.tasks()
Returns information about the tasks currently executing on one or more nodes in the cluster.tasks
(TasksRequest request) Returns information about the tasks currently executing on one or more nodes in the cluster.final CompletableFuture<TasksResponse>
Returns information about the tasks currently executing on one or more nodes in the cluster.Returns information about existing templates.templates
(TemplatesRequest request) Returns information about existing templates.Returns information about existing templates.Returns cluster-wide thread pool statistics per node.threadPool
(ThreadPoolRequest request) Returns cluster-wide thread pool statistics per node.Returns cluster-wide thread pool statistics per node.Gets configuration and usage information about transforms.transforms
(TransformsRequest request) Gets configuration and usage information about transforms.Gets configuration and usage information about transforms.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchCatAsyncClient
-
ElasticsearchCatAsyncClient
public ElasticsearchCatAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchCatAsyncClient>
-
aliases
Shows information about currently configured aliases to indices including filter and routing infos.- See Also:
-
aliases
public final CompletableFuture<AliasesResponse> aliases(Function<AliasesRequest.Builder, ObjectBuilder<AliasesRequest>> fn) Shows information about currently configured aliases to indices including filter and routing infos.- Parameters:
fn
- a function that initializes a builder to create theAliasesRequest
- See Also:
-
aliases
Shows information about currently configured aliases to indices including filter and routing infos.- See Also:
-
allocation
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- See Also:
-
allocation
public final CompletableFuture<AllocationResponse> allocation(Function<AllocationRequest.Builder, ObjectBuilder<AllocationRequest>> fn) Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- Parameters:
fn
- a function that initializes a builder to create theAllocationRequest
- See Also:
-
allocation
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- See Also:
-
componentTemplates
public CompletableFuture<ComponentTemplatesResponse> componentTemplates(ComponentTemplatesRequest request) Returns information about existing component_templates templates.- See Also:
-
componentTemplates
public final CompletableFuture<ComponentTemplatesResponse> componentTemplates(Function<ComponentTemplatesRequest.Builder, ObjectBuilder<ComponentTemplatesRequest>> fn) Returns information about existing component_templates templates.- Parameters:
fn
- a function that initializes a builder to create theComponentTemplatesRequest
- See Also:
-
componentTemplates
Returns information about existing component_templates templates.- See Also:
-
count
Provides quick access to the document count of the entire cluster, or individual indices.- See Also:
-
count
public final CompletableFuture<CountResponse> count(Function<CountRequest.Builder, ObjectBuilder<CountRequest>> fn) Provides quick access to the document count of the entire cluster, or individual indices.- Parameters:
fn
- a function that initializes a builder to create theCountRequest
- See Also:
-
count
Provides quick access to the document count of the entire cluster, or individual indices.- See Also:
-
fielddata
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- See Also:
-
fielddata
public final CompletableFuture<FielddataResponse> fielddata(Function<FielddataRequest.Builder, ObjectBuilder<FielddataRequest>> fn) Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- Parameters:
fn
- a function that initializes a builder to create theFielddataRequest
- See Also:
-
fielddata
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- See Also:
-
health
Returns a concise representation of the cluster health.- See Also:
-
health
public final CompletableFuture<HealthResponse> health(Function<HealthRequest.Builder, ObjectBuilder<HealthRequest>> fn) Returns a concise representation of the cluster health.- Parameters:
fn
- a function that initializes a builder to create theHealthRequest
- See Also:
-
health
Returns a concise representation of the cluster health.- See Also:
-
help
Returns help for the Cat APIs.- See Also:
-
indices
Returns information about indices: number of primaries and replicas, document counts, disk size, ...- See Also:
-
indices
public final CompletableFuture<IndicesResponse> indices(Function<IndicesRequest.Builder, ObjectBuilder<IndicesRequest>> fn) Returns information about indices: number of primaries and replicas, document counts, disk size, ...- Parameters:
fn
- a function that initializes a builder to create theIndicesRequest
- See Also:
-
indices
Returns information about indices: number of primaries and replicas, document counts, disk size, ...- See Also:
-
master
Returns information about the master node.- See Also:
-
mlDataFrameAnalytics
public CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics(MlDataFrameAnalyticsRequest request) Gets configuration and usage information about data frame analytics jobs.- See Also:
-
mlDataFrameAnalytics
public final CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics(Function<MlDataFrameAnalyticsRequest.Builder, ObjectBuilder<MlDataFrameAnalyticsRequest>> fn) Gets configuration and usage information about data frame analytics jobs.- Parameters:
fn
- a function that initializes a builder to create theMlDataFrameAnalyticsRequest
- See Also:
-
mlDataFrameAnalytics
Gets configuration and usage information about data frame analytics jobs.- See Also:
-
mlDatafeeds
Gets configuration and usage information about datafeeds.- See Also:
-
mlDatafeeds
public final CompletableFuture<MlDatafeedsResponse> mlDatafeeds(Function<MlDatafeedsRequest.Builder, ObjectBuilder<MlDatafeedsRequest>> fn) Gets configuration and usage information about datafeeds.- Parameters:
fn
- a function that initializes a builder to create theMlDatafeedsRequest
- See Also:
-
mlDatafeeds
Gets configuration and usage information about datafeeds.- See Also:
-
mlJobs
Gets configuration and usage information about anomaly detection jobs.- See Also:
-
mlJobs
public final CompletableFuture<MlJobsResponse> mlJobs(Function<MlJobsRequest.Builder, ObjectBuilder<MlJobsRequest>> fn) Gets configuration and usage information about anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theMlJobsRequest
- See Also:
-
mlJobs
Gets configuration and usage information about anomaly detection jobs.- See Also:
-
mlTrainedModels
Gets configuration and usage information about inference trained models.- See Also:
-
mlTrainedModels
public final CompletableFuture<MlTrainedModelsResponse> mlTrainedModels(Function<MlTrainedModelsRequest.Builder, ObjectBuilder<MlTrainedModelsRequest>> fn) Gets configuration and usage information about inference trained models.- Parameters:
fn
- a function that initializes a builder to create theMlTrainedModelsRequest
- See Also:
-
mlTrainedModels
Gets configuration and usage information about inference trained models.- See Also:
-
nodeattrs
Returns information about custom node attributes.- See Also:
-
nodes
Returns basic statistics about performance of cluster nodes.- See Also:
-
nodes
public final CompletableFuture<NodesResponse> nodes(Function<NodesRequest.Builder, ObjectBuilder<NodesRequest>> fn) Returns basic statistics about performance of cluster nodes.- Parameters:
fn
- a function that initializes a builder to create theNodesRequest
- See Also:
-
nodes
Returns basic statistics about performance of cluster nodes.- See Also:
-
pendingTasks
Returns a concise representation of the cluster pending tasks.- See Also:
-
plugins
Returns information about installed plugins across nodes node.- See Also:
-
recovery
Returns information about index shard recoveries, both on-going completed.- See Also:
-
recovery
public final CompletableFuture<RecoveryResponse> recovery(Function<RecoveryRequest.Builder, ObjectBuilder<RecoveryRequest>> fn) Returns information about index shard recoveries, both on-going completed.- Parameters:
fn
- a function that initializes a builder to create theRecoveryRequest
- See Also:
-
recovery
Returns information about index shard recoveries, both on-going completed.- See Also:
-
repositories
Returns information about snapshot repositories registered in the cluster.- See Also:
-
segments
Provides low-level information about the segments in the shards of an index.- See Also:
-
segments
public final CompletableFuture<SegmentsResponse> segments(Function<SegmentsRequest.Builder, ObjectBuilder<SegmentsRequest>> fn) Provides low-level information about the segments in the shards of an index.- Parameters:
fn
- a function that initializes a builder to create theSegmentsRequest
- See Also:
-
segments
Provides low-level information about the segments in the shards of an index.- See Also:
-
shards
Provides a detailed view of shard allocation on nodes.- See Also:
-
shards
public final CompletableFuture<ShardsResponse> shards(Function<ShardsRequest.Builder, ObjectBuilder<ShardsRequest>> fn) Provides a detailed view of shard allocation on nodes.- Parameters:
fn
- a function that initializes a builder to create theShardsRequest
- See Also:
-
shards
Provides a detailed view of shard allocation on nodes.- See Also:
-
snapshots
Returns all snapshots in a specific repository.- See Also:
-
snapshots
public final CompletableFuture<SnapshotsResponse> snapshots(Function<SnapshotsRequest.Builder, ObjectBuilder<SnapshotsRequest>> fn) Returns all snapshots in a specific repository.- Parameters:
fn
- a function that initializes a builder to create theSnapshotsRequest
- See Also:
-
snapshots
Returns all snapshots in a specific repository.- See Also:
-
tasks
Returns information about the tasks currently executing on one or more nodes in the cluster.- See Also:
-
tasks
public final CompletableFuture<TasksResponse> tasks(Function<TasksRequest.Builder, ObjectBuilder<TasksRequest>> fn) Returns information about the tasks currently executing on one or more nodes in the cluster.- Parameters:
fn
- a function that initializes a builder to create theTasksRequest
- See Also:
-
tasks
Returns information about the tasks currently executing on one or more nodes in the cluster.- See Also:
-
templates
Returns information about existing templates.- See Also:
-
templates
public final CompletableFuture<TemplatesResponse> templates(Function<TemplatesRequest.Builder, ObjectBuilder<TemplatesRequest>> fn) Returns information about existing templates.- Parameters:
fn
- a function that initializes a builder to create theTemplatesRequest
- See Also:
-
templates
Returns information about existing templates.- See Also:
-
threadPool
Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- See Also:
-
threadPool
public final CompletableFuture<ThreadPoolResponse> threadPool(Function<ThreadPoolRequest.Builder, ObjectBuilder<ThreadPoolRequest>> fn) Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- Parameters:
fn
- a function that initializes a builder to create theThreadPoolRequest
- See Also:
-
threadPool
Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- See Also:
-
transforms
Gets configuration and usage information about transforms.- See Also:
-
transforms
public final CompletableFuture<TransformsResponse> transforms(Function<TransformsRequest.Builder, ObjectBuilder<TransformsRequest>> fn) Gets configuration and usage information about transforms.- Parameters:
fn
- a function that initializes a builder to create theTransformsRequest
- See Also:
-
transforms
Gets configuration and usage information about transforms.- See Also:
-