Struct elasticsearch::cat::Cat
source · [−]pub struct Cat<'a> { /* private fields */ }
Expand description
Namespace client for Cat APIs
Implementations
sourceimpl<'a> Cat<'a>
impl<'a> Cat<'a>
pub fn transport(&self) -> &Transport
sourcepub fn aliases<'b>(&'a self, parts: CatAliasesParts<'b>) -> CatAliases<'a, 'b>
pub fn aliases<'b>(&'a self, parts: CatAliasesParts<'b>) -> CatAliases<'a, 'b>
Shows information about currently configured aliases to indices including filter and routing infos.
sourcepub fn allocation<'b>(
&'a self,
parts: CatAllocationParts<'b>
) -> CatAllocation<'a, 'b>
pub fn allocation<'b>(
&'a self,
parts: CatAllocationParts<'b>
) -> CatAllocation<'a, 'b>
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.
sourcepub fn count<'b>(&'a self, parts: CatCountParts<'b>) -> CatCount<'a, 'b>
pub fn count<'b>(&'a self, parts: CatCountParts<'b>) -> CatCount<'a, 'b>
Provides quick access to the document count of the entire cluster, or individual indices.
sourcepub fn fielddata<'b>(
&'a self,
parts: CatFielddataParts<'b>
) -> CatFielddata<'a, 'b>
pub fn fielddata<'b>(
&'a self,
parts: CatFielddataParts<'b>
) -> CatFielddata<'a, 'b>
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.
sourcepub fn health<'b>(&'a self) -> CatHealth<'a, 'b>
pub fn health<'b>(&'a self) -> CatHealth<'a, 'b>
Returns a concise representation of the cluster health.
sourcepub fn indices<'b>(&'a self, parts: CatIndicesParts<'b>) -> CatIndices<'a, 'b>
pub fn indices<'b>(&'a self, parts: CatIndicesParts<'b>) -> CatIndices<'a, 'b>
Returns information about indices: number of primaries and replicas, document counts, disk size, …
sourcepub fn ml_data_frame_analytics<'b>(
&'a self,
parts: CatMlDataFrameAnalyticsParts<'b>
) -> CatMlDataFrameAnalytics<'a, 'b>
pub fn ml_data_frame_analytics<'b>(
&'a self,
parts: CatMlDataFrameAnalyticsParts<'b>
) -> CatMlDataFrameAnalytics<'a, 'b>
Cat Ml Data Frame Analytics API
Gets configuration and usage information about data frame analytics jobs.
sourcepub fn ml_datafeeds<'b>(
&'a self,
parts: CatMlDatafeedsParts<'b>
) -> CatMlDatafeeds<'a, 'b>
pub fn ml_datafeeds<'b>(
&'a self,
parts: CatMlDatafeedsParts<'b>
) -> CatMlDatafeeds<'a, 'b>
Gets configuration and usage information about datafeeds.
sourcepub fn ml_jobs<'b>(&'a self, parts: CatMlJobsParts<'b>) -> CatMlJobs<'a, 'b>
pub fn ml_jobs<'b>(&'a self, parts: CatMlJobsParts<'b>) -> CatMlJobs<'a, 'b>
Gets configuration and usage information about anomaly detection jobs.
sourcepub fn ml_trained_models<'b>(
&'a self,
parts: CatMlTrainedModelsParts<'b>
) -> CatMlTrainedModels<'a, 'b>
pub fn ml_trained_models<'b>(
&'a self,
parts: CatMlTrainedModelsParts<'b>
) -> CatMlTrainedModels<'a, 'b>
Gets configuration and usage information about inference trained models.
sourcepub fn nodeattrs<'b>(&'a self) -> CatNodeattrs<'a, 'b>
pub fn nodeattrs<'b>(&'a self) -> CatNodeattrs<'a, 'b>
Returns information about custom node attributes.
sourcepub fn nodes<'b>(&'a self) -> CatNodes<'a, 'b>
pub fn nodes<'b>(&'a self) -> CatNodes<'a, 'b>
Returns basic statistics about performance of cluster nodes.
sourcepub fn pending_tasks<'b>(&'a self) -> CatPendingTasks<'a, 'b>
pub fn pending_tasks<'b>(&'a self) -> CatPendingTasks<'a, 'b>
Returns a concise representation of the cluster pending tasks.
sourcepub fn plugins<'b>(&'a self) -> CatPlugins<'a, 'b>
pub fn plugins<'b>(&'a self) -> CatPlugins<'a, 'b>
Returns information about installed plugins across nodes node.
sourcepub fn recovery<'b>(
&'a self,
parts: CatRecoveryParts<'b>
) -> CatRecovery<'a, 'b>
pub fn recovery<'b>(
&'a self,
parts: CatRecoveryParts<'b>
) -> CatRecovery<'a, 'b>
Returns information about index shard recoveries, both on-going completed.
sourcepub fn repositories<'b>(&'a self) -> CatRepositories<'a, 'b>
pub fn repositories<'b>(&'a self) -> CatRepositories<'a, 'b>
Returns information about snapshot repositories registered in the cluster.
sourcepub fn segments<'b>(
&'a self,
parts: CatSegmentsParts<'b>
) -> CatSegments<'a, 'b>
pub fn segments<'b>(
&'a self,
parts: CatSegmentsParts<'b>
) -> CatSegments<'a, 'b>
Provides low-level information about the segments in the shards of an index.
sourcepub fn shards<'b>(&'a self, parts: CatShardsParts<'b>) -> CatShards<'a, 'b>
pub fn shards<'b>(&'a self, parts: CatShardsParts<'b>) -> CatShards<'a, 'b>
Provides a detailed view of shard allocation on nodes.
sourcepub fn snapshots<'b>(
&'a self,
parts: CatSnapshotsParts<'b>
) -> CatSnapshots<'a, 'b>
pub fn snapshots<'b>(
&'a self,
parts: CatSnapshotsParts<'b>
) -> CatSnapshots<'a, 'b>
Returns all snapshots in a specific repository.
sourcepub fn tasks<'b>(&'a self) -> CatTasks<'a, 'b>
pub fn tasks<'b>(&'a self) -> CatTasks<'a, 'b>
Returns information about the tasks currently executing on one or more nodes in the cluster.
sourcepub fn templates<'b>(
&'a self,
parts: CatTemplatesParts<'b>
) -> CatTemplates<'a, 'b>
pub fn templates<'b>(
&'a self,
parts: CatTemplatesParts<'b>
) -> CatTemplates<'a, 'b>
Returns information about existing templates.
sourcepub fn thread_pool<'b>(
&'a self,
parts: CatThreadPoolParts<'b>
) -> CatThreadPool<'a, 'b>
pub fn thread_pool<'b>(
&'a self,
parts: CatThreadPoolParts<'b>
) -> CatThreadPool<'a, 'b>
Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.
sourcepub fn transforms<'b>(
&'a self,
parts: CatTransformsParts<'b>
) -> CatTransforms<'a, 'b>
pub fn transforms<'b>(
&'a self,
parts: CatTransformsParts<'b>
) -> CatTransforms<'a, 'b>
Gets configuration and usage information about transforms.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Cat<'a>
impl<'a> Send for Cat<'a>
impl<'a> Sync for Cat<'a>
impl<'a> Unpin for Cat<'a>
impl<'a> !UnwindSafe for Cat<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more