Class ElasticsearchCatClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchCatClient
(ElasticsearchTransport transport) ElasticsearchCatClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionaliases()
Get aliases.aliases
(AliasesRequest request) Get aliases.final AliasesResponse
Get aliases.Get shard allocation information.allocation
(AllocationRequest request) Get shard allocation information.final AllocationResponse
Get shard allocation information.Get component templates.Get component templates.componentTemplates
(Function<ComponentTemplatesRequest.Builder, ObjectBuilder<ComponentTemplatesRequest>> fn) Get component templates.count()
Get a document count.count
(CountRequest request) Get a document count.final CountResponse
Get a document count.Get field data cache information.fielddata
(FielddataRequest request) Get field data cache information.final FielddataResponse
Get field data cache information.health()
Get the cluster health status.health
(HealthRequest request) Get the cluster health status.final HealthResponse
Get the cluster health status.help()
Get CAT help.indices()
Get index information.indices
(IndicesRequest request) Get index information.final IndicesResponse
Get index information.master()
Get master node information.master
(MasterRequest request) Get master node information.final MasterResponse
Get master node information.Get datafeeds.mlDatafeeds
(MlDatafeedsRequest request) Get datafeeds.final MlDatafeedsResponse
Get datafeeds.Get data frame analytics jobs.Get data frame analytics jobs.mlDataFrameAnalytics
(Function<MlDataFrameAnalyticsRequest.Builder, ObjectBuilder<MlDataFrameAnalyticsRequest>> fn) Get data frame analytics jobs.mlJobs()
Get anomaly detection jobs.mlJobs
(MlJobsRequest request) Get anomaly detection jobs.final MlJobsResponse
Get anomaly detection jobs.Get trained models.mlTrainedModels
(MlTrainedModelsRequest request) Get trained models.final MlTrainedModelsResponse
Get trained models.Get node attribute information.nodeattrs
(NodeattrsRequest request) Get node attribute information.final NodeattrsResponse
Get node attribute information.nodes()
Get node information.nodes
(NodesRequest request) Get node information.final NodesResponse
Get node information.Get pending task information.pendingTasks
(PendingTasksRequest request) Get pending task information.final PendingTasksResponse
Get pending task information.plugins()
Get plugin information.plugins
(PluginsRequest request) Get plugin information.final PluginsResponse
Get plugin information.recovery()
Get shard recovery information.recovery
(RecoveryRequest request) Get shard recovery information.final RecoveryResponse
Get shard recovery information.Get snapshot repository information.repositories
(RepositoriesRequest request) Get snapshot repository information.final RepositoriesResponse
Get snapshot repository information.segments()
Get segment information.segments
(SegmentsRequest request) Get segment information.final SegmentsResponse
Get segment information.shards()
Get shard information.shards
(ShardsRequest request) Get shard information.final ShardsResponse
Get shard information.Get snapshot information.snapshots
(SnapshotsRequest request) Get snapshot information.final SnapshotsResponse
Get snapshot information.tasks()
Get task information.tasks
(TasksRequest request) Get task information.final TasksResponse
Get task information.Get index template information.templates
(TemplatesRequest request) Get index template information.final TemplatesResponse
Get index template information.Get thread pool statistics.threadPool
(ThreadPoolRequest request) Get thread pool statistics.final ThreadPoolResponse
Get thread pool statistics.Get transform information.transforms
(TransformsRequest request) Get transform information.final TransformsResponse
Get transform information.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchCatClient
-
ElasticsearchCatClient
public ElasticsearchCatClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchCatClient>
-
aliases
Get aliases.Get the cluster's index aliases, including filter and routing information. This API does not return data stream aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
aliases
public final AliasesResponse aliases(Function<AliasesRequest.Builder, ObjectBuilder<AliasesRequest>> fn) throws IOException, ElasticsearchExceptionGet aliases.Get the cluster's index aliases, including filter and routing information. This API does not return data stream aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
- Parameters:
fn
- a function that initializes a builder to create theAliasesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
aliases
Get aliases.Get the cluster's index aliases, including filter and routing information. This API does not return data stream aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
allocation
public AllocationResponse allocation(AllocationRequest request) throws IOException, ElasticsearchException Get shard allocation information.Get a snapshot of the number of shards allocated to each data node and their disk space.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Throws:
IOException
ElasticsearchException
- See Also:
-
allocation
public final AllocationResponse allocation(Function<AllocationRequest.Builder, ObjectBuilder<AllocationRequest>> fn) throws IOException, ElasticsearchExceptionGet shard allocation information.Get a snapshot of the number of shards allocated to each data node and their disk space.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Parameters:
fn
- a function that initializes a builder to create theAllocationRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
allocation
Get shard allocation information.Get a snapshot of the number of shards allocated to each data node and their disk space.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Throws:
IOException
ElasticsearchException
- See Also:
-
componentTemplates
public ComponentTemplatesResponse componentTemplates(ComponentTemplatesRequest request) throws IOException, ElasticsearchException Get component templates.Get information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
componentTemplates
public final ComponentTemplatesResponse componentTemplates(Function<ComponentTemplatesRequest.Builder, ObjectBuilder<ComponentTemplatesRequest>> fn) throws IOException, ElasticsearchExceptionGet component templates.Get information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
- Parameters:
fn
- a function that initializes a builder to create theComponentTemplatesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
componentTemplates
Get component templates.Get information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
count
Get a document count.Get quick access to a document count for a data stream, an index, or an entire cluster. The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
count
public final CountResponse count(Function<CountRequest.Builder, ObjectBuilder<CountRequest>> fn) throws IOException, ElasticsearchExceptionGet a document count.Get quick access to a document count for a data stream, an index, or an entire cluster. The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
- Parameters:
fn
- a function that initializes a builder to create theCountRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
count
Get a document count.Get quick access to a document count for a data stream, an index, or an entire cluster. The document count only includes live documents, not deleted documents which have not yet been removed by the merge process.
IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
fielddata
public FielddataResponse fielddata(FielddataRequest request) throws IOException, ElasticsearchException Get field data cache information.Get the amount of heap memory currently used by the field data cache on every data node in the cluster.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes stats API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
fielddata
public final FielddataResponse fielddata(Function<FielddataRequest.Builder, ObjectBuilder<FielddataRequest>> fn) throws IOException, ElasticsearchExceptionGet field data cache information.Get the amount of heap memory currently used by the field data cache on every data node in the cluster.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes stats API.
- Parameters:
fn
- a function that initializes a builder to create theFielddataRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
fielddata
Get field data cache information.Get the amount of heap memory currently used by the field data cache on every data node in the cluster.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes stats API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
health
Get the cluster health status.IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the cluster health API. This API is often used to check malfunctioning clusters. To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:
HH:MM:SS
, which is human-readable but includes no date information;Unix epoch time
, which is machine-sortable and includes date information. The latter format is useful for cluster recoveries that take multiple days. You can use the cat health API to verify cluster health across multiple nodes. You also can use the API to track the recovery of a large cluster over a longer period of time.- Throws:
IOException
ElasticsearchException
- See Also:
-
health
public final HealthResponse health(Function<HealthRequest.Builder, ObjectBuilder<HealthRequest>> fn) throws IOException, ElasticsearchExceptionGet the cluster health status.IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the cluster health API. This API is often used to check malfunctioning clusters. To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:
HH:MM:SS
, which is human-readable but includes no date information;Unix epoch time
, which is machine-sortable and includes date information. The latter format is useful for cluster recoveries that take multiple days. You can use the cat health API to verify cluster health across multiple nodes. You also can use the API to track the recovery of a large cluster over a longer period of time.- Parameters:
fn
- a function that initializes a builder to create theHealthRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
health
Get the cluster health status.IMPORTANT: CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the cluster health API. This API is often used to check malfunctioning clusters. To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats:
HH:MM:SS
, which is human-readable but includes no date information;Unix epoch time
, which is machine-sortable and includes date information. The latter format is useful for cluster recoveries that take multiple days. You can use the cat health API to verify cluster health across multiple nodes. You also can use the API to track the recovery of a large cluster over a longer period of time.- Throws:
IOException
ElasticsearchException
- See Also:
-
help
Get CAT help.Get help for the CAT APIs.
- Throws:
IOException
ElasticsearchException
- See Also:
-
indices
Get index information.Get high-level information about indices in a cluster, including backing indices for data streams.
Use this request to get the following information for each index in a cluster:
- shard count
- document count
- deleted document count
- primary store size
- total store size of all shards, including shard replicas
These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
- Throws:
IOException
ElasticsearchException
- See Also:
-
indices
public final IndicesResponse indices(Function<IndicesRequest.Builder, ObjectBuilder<IndicesRequest>> fn) throws IOException, ElasticsearchExceptionGet index information.Get high-level information about indices in a cluster, including backing indices for data streams.
Use this request to get the following information for each index in a cluster:
- shard count
- document count
- deleted document count
- primary store size
- total store size of all shards, including shard replicas
These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
- Parameters:
fn
- a function that initializes a builder to create theIndicesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
indices
Get index information.Get high-level information about indices in a cluster, including backing indices for data streams.
Use this request to get the following information for each index in a cluster:
- shard count
- document count
- deleted document count
- primary store size
- total store size of all shards, including shard replicas
These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs.
CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
- Throws:
IOException
ElasticsearchException
- See Also:
-
master
Get master node information.Get information about the master node, including the ID, bound IP address, and name.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
master
public final MasterResponse master(Function<MasterRequest.Builder, ObjectBuilder<MasterRequest>> fn) throws IOException, ElasticsearchExceptionGet master node information.Get information about the master node, including the ID, bound IP address, and name.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Parameters:
fn
- a function that initializes a builder to create theMasterRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
master
Get master node information.Get information about the master node, including the ID, bound IP address, and name.
IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDataFrameAnalytics
public MlDataFrameAnalyticsResponse mlDataFrameAnalytics(MlDataFrameAnalyticsRequest request) throws IOException, ElasticsearchException Get data frame analytics jobs.Get configuration and usage information about data frame analytics jobs.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDataFrameAnalytics
public final MlDataFrameAnalyticsResponse mlDataFrameAnalytics(Function<MlDataFrameAnalyticsRequest.Builder, ObjectBuilder<MlDataFrameAnalyticsRequest>> fn) throws IOException, ElasticsearchExceptionGet data frame analytics jobs.Get configuration and usage information about data frame analytics jobs.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
- Parameters:
fn
- a function that initializes a builder to create theMlDataFrameAnalyticsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDataFrameAnalytics
public MlDataFrameAnalyticsResponse mlDataFrameAnalytics() throws IOException, ElasticsearchExceptionGet data frame analytics jobs.Get configuration and usage information about data frame analytics jobs.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDatafeeds
public MlDatafeedsResponse mlDatafeeds(MlDatafeedsRequest request) throws IOException, ElasticsearchException Get datafeeds.Get configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDatafeeds
public final MlDatafeedsResponse mlDatafeeds(Function<MlDatafeedsRequest.Builder, ObjectBuilder<MlDatafeedsRequest>> fn) throws IOException, ElasticsearchExceptionGet datafeeds.Get configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
- Parameters:
fn
- a function that initializes a builder to create theMlDatafeedsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlDatafeeds
Get datafeeds.Get configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlJobs
Get anomaly detection jobs.Get configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlJobs
public final MlJobsResponse mlJobs(Function<MlJobsRequest.Builder, ObjectBuilder<MlJobsRequest>> fn) throws IOException, ElasticsearchExceptionGet anomaly detection jobs.Get configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
- Parameters:
fn
- a function that initializes a builder to create theMlJobsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlJobs
Get anomaly detection jobs.Get configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have
monitor_ml
,monitor
,manage_ml
, ormanage
cluster privileges to use this API.IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlTrainedModels
public MlTrainedModelsResponse mlTrainedModels(MlTrainedModelsRequest request) throws IOException, ElasticsearchException Get trained models.Get configuration and usage information about inference trained models.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlTrainedModels
public final MlTrainedModelsResponse mlTrainedModels(Function<MlTrainedModelsRequest.Builder, ObjectBuilder<MlTrainedModelsRequest>> fn) throws IOException, ElasticsearchExceptionGet trained models.Get configuration and usage information about inference trained models.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
- Parameters:
fn
- a function that initializes a builder to create theMlTrainedModelsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
mlTrainedModels
Get trained models.Get configuration and usage information about inference trained models.
IMPORTANT: CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodeattrs
public NodeattrsResponse nodeattrs(NodeattrsRequest request) throws IOException, ElasticsearchException Get node attribute information.Get information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodeattrs
public final NodeattrsResponse nodeattrs(Function<NodeattrsRequest.Builder, ObjectBuilder<NodeattrsRequest>> fn) throws IOException, ElasticsearchExceptionGet node attribute information.Get information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Parameters:
fn
- a function that initializes a builder to create theNodeattrsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodeattrs
Get node attribute information.Get information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodes
Get node information.Get information about the nodes in a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodes
public final NodesResponse nodes(Function<NodesRequest.Builder, ObjectBuilder<NodesRequest>> fn) throws IOException, ElasticsearchExceptionGet node information.Get information about the nodes in a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Parameters:
fn
- a function that initializes a builder to create theNodesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
nodes
Get node information.Get information about the nodes in a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
pendingTasks
public PendingTasksResponse pendingTasks(PendingTasksRequest request) throws IOException, ElasticsearchException Get pending task information.Get information about cluster-level changes that have not yet taken effect. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
pendingTasks
public final PendingTasksResponse pendingTasks(Function<PendingTasksRequest.Builder, ObjectBuilder<PendingTasksRequest>> fn) throws IOException, ElasticsearchExceptionGet pending task information.Get information about cluster-level changes that have not yet taken effect. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
- Parameters:
fn
- a function that initializes a builder to create thePendingTasksRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
pendingTasks
Get pending task information.Get information about cluster-level changes that have not yet taken effect. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
plugins
Get plugin information.Get a list of plugins running on each node of a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
plugins
public final PluginsResponse plugins(Function<PluginsRequest.Builder, ObjectBuilder<PluginsRequest>> fn) throws IOException, ElasticsearchExceptionGet plugin information.Get a list of plugins running on each node of a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Parameters:
fn
- a function that initializes a builder to create thePluginsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
plugins
Get plugin information.Get a list of plugins running on each node of a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
recovery
public RecoveryResponse recovery(RecoveryRequest request) throws IOException, ElasticsearchException Get shard recovery information.Get information about ongoing and completed shard recoveries. Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing. For data streams, the API returns information about the stream’s backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
recovery
public final RecoveryResponse recovery(Function<RecoveryRequest.Builder, ObjectBuilder<RecoveryRequest>> fn) throws IOException, ElasticsearchExceptionGet shard recovery information.Get information about ongoing and completed shard recoveries. Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing. For data streams, the API returns information about the stream’s backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.
- Parameters:
fn
- a function that initializes a builder to create theRecoveryRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
recovery
Get shard recovery information.Get information about ongoing and completed shard recoveries. Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing. For data streams, the API returns information about the stream’s backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
repositories
public RepositoriesResponse repositories(RepositoriesRequest request) throws IOException, ElasticsearchException Get snapshot repository information.Get a list of snapshot repositories for a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
repositories
public final RepositoriesResponse repositories(Function<RepositoriesRequest.Builder, ObjectBuilder<RepositoriesRequest>> fn) throws IOException, ElasticsearchExceptionGet snapshot repository information.Get a list of snapshot repositories for a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.
- Parameters:
fn
- a function that initializes a builder to create theRepositoriesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
repositories
Get snapshot repository information.Get a list of snapshot repositories for a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
segments
public SegmentsResponse segments(SegmentsRequest request) throws IOException, ElasticsearchException Get segment information.Get low-level information about the Lucene segments in index shards. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
segments
public final SegmentsResponse segments(Function<SegmentsRequest.Builder, ObjectBuilder<SegmentsRequest>> fn) throws IOException, ElasticsearchExceptionGet segment information.Get low-level information about the Lucene segments in index shards. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.
- Parameters:
fn
- a function that initializes a builder to create theSegmentsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
segments
Get segment information.Get low-level information about the Lucene segments in index shards. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
shards
Get shard information.Get information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Throws:
IOException
ElasticsearchException
- See Also:
-
shards
public final ShardsResponse shards(Function<ShardsRequest.Builder, ObjectBuilder<ShardsRequest>> fn) throws IOException, ElasticsearchExceptionGet shard information.Get information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Parameters:
fn
- a function that initializes a builder to create theShardsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
shards
Get shard information.Get information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
- Throws:
IOException
ElasticsearchException
- See Also:
-
snapshots
public SnapshotsResponse snapshots(SnapshotsRequest request) throws IOException, ElasticsearchException Get snapshot information.Get information about the snapshots stored in one or more repositories. A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
snapshots
public final SnapshotsResponse snapshots(Function<SnapshotsRequest.Builder, ObjectBuilder<SnapshotsRequest>> fn) throws IOException, ElasticsearchExceptionGet snapshot information.Get information about the snapshots stored in one or more repositories. A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
- Parameters:
fn
- a function that initializes a builder to create theSnapshotsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
snapshots
Get snapshot information.Get information about the snapshots stored in one or more repositories. A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
tasks
Get task information.Get information about tasks currently running in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
tasks
public final TasksResponse tasks(Function<TasksRequest.Builder, ObjectBuilder<TasksRequest>> fn) throws IOException, ElasticsearchExceptionGet task information.Get information about tasks currently running in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.
- Parameters:
fn
- a function that initializes a builder to create theTasksRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
tasks
Get task information.Get information about tasks currently running in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
templates
public TemplatesResponse templates(TemplatesRequest request) throws IOException, ElasticsearchException Get index template information.Get information about the index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
templates
public final TemplatesResponse templates(Function<TemplatesRequest.Builder, ObjectBuilder<TemplatesRequest>> fn) throws IOException, ElasticsearchExceptionGet index template information.Get information about the index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.
- Parameters:
fn
- a function that initializes a builder to create theTemplatesRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
templates
Get index template information.Get information about the index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
threadPool
public ThreadPoolResponse threadPool(ThreadPoolRequest request) throws IOException, ElasticsearchException Get thread pool statistics.Get thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
threadPool
public final ThreadPoolResponse threadPool(Function<ThreadPoolRequest.Builder, ObjectBuilder<ThreadPoolRequest>> fn) throws IOException, ElasticsearchExceptionGet thread pool statistics.Get thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Parameters:
fn
- a function that initializes a builder to create theThreadPoolRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
threadPool
Get thread pool statistics.Get thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
transforms
public TransformsResponse transforms(TransformsRequest request) throws IOException, ElasticsearchException Get transform information.Get configuration and usage information about transforms.
CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-
transforms
public final TransformsResponse transforms(Function<TransformsRequest.Builder, ObjectBuilder<TransformsRequest>> fn) throws IOException, ElasticsearchExceptionGet transform information.Get configuration and usage information about transforms.
CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
- Parameters:
fn
- a function that initializes a builder to create theTransformsRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
transforms
Get transform information.Get configuration and usage information about transforms.
CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
- Throws:
IOException
ElasticsearchException
- See Also:
-