[−][src]Struct elasticsearch::cat::Cat
Namespace client for Cat APIs
Implementations
impl<'a> Cat<'a>
[src]
pub fn new(transport: &'a Transport) -> Self
[src]
Creates a new instance of Cat
pub fn transport(&self) -> &Transport
[src]
pub fn aliases<'b>(&'a self, parts: CatAliasesParts<'b>) -> CatAliases<'a, 'b>
[src]
Shows information about currently configured aliases to indices including filter and routing infos.
pub fn allocation<'b>(
&'a self,
parts: CatAllocationParts<'b>
) -> CatAllocation<'a, 'b>
[src]
&'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.
pub fn count<'b>(&'a self, parts: CatCountParts<'b>) -> CatCount<'a, 'b>
[src]
Provides quick access to the document count of the entire cluster, or individual indices.
pub fn fielddata<'b>(
&'a self,
parts: CatFielddataParts<'b>
) -> CatFielddata<'a, 'b>
[src]
&'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.
pub fn health<'b>(&'a self) -> CatHealth<'a, 'b>
[src]
Returns a concise representation of the cluster health.
pub fn help<'b>(&'a self) -> CatHelp<'a, 'b>
[src]
Returns help for the Cat APIs.
pub fn indices<'b>(&'a self, parts: CatIndicesParts<'b>) -> CatIndices<'a, 'b>
[src]
Returns information about indices: number of primaries and replicas, document counts, disk size, ...
pub fn master<'b>(&'a self) -> CatMaster<'a, 'b>
[src]
Returns information about the master node.
pub fn ml_data_frame_analytics<'b>(
&'a self,
parts: CatMlDataFrameAnalyticsParts<'b>
) -> CatMlDataFrameAnalytics<'a, 'b>
[src]
&'a self,
parts: CatMlDataFrameAnalyticsParts<'b>
) -> CatMlDataFrameAnalytics<'a, 'b>
Cat Ml Data Frame Analytics API
Gets configuration and usage information about data frame analytics jobs.
pub fn ml_datafeeds<'b>(
&'a self,
parts: CatMlDatafeedsParts<'b>
) -> CatMlDatafeeds<'a, 'b>
[src]
&'a self,
parts: CatMlDatafeedsParts<'b>
) -> CatMlDatafeeds<'a, 'b>
Gets configuration and usage information about datafeeds.
pub fn ml_jobs<'b>(&'a self, parts: CatMlJobsParts<'b>) -> CatMlJobs<'a, 'b>
[src]
Gets configuration and usage information about anomaly detection jobs.
pub fn ml_trained_models<'b>(
&'a self,
parts: CatMlTrainedModelsParts<'b>
) -> CatMlTrainedModels<'a, 'b>
[src]
&'a self,
parts: CatMlTrainedModelsParts<'b>
) -> CatMlTrainedModels<'a, 'b>
Gets configuration and usage information about inference trained models.
pub fn nodeattrs<'b>(&'a self) -> CatNodeattrs<'a, 'b>
[src]
Returns information about custom node attributes.
pub fn nodes<'b>(&'a self) -> CatNodes<'a, 'b>
[src]
Returns basic statistics about performance of cluster nodes.
pub fn pending_tasks<'b>(&'a self) -> CatPendingTasks<'a, 'b>
[src]
Returns a concise representation of the cluster pending tasks.
pub fn plugins<'b>(&'a self) -> CatPlugins<'a, 'b>
[src]
Returns information about installed plugins across nodes node.
pub fn recovery<'b>(
&'a self,
parts: CatRecoveryParts<'b>
) -> CatRecovery<'a, 'b>
[src]
&'a self,
parts: CatRecoveryParts<'b>
) -> CatRecovery<'a, 'b>
Returns information about index shard recoveries, both on-going completed.
pub fn repositories<'b>(&'a self) -> CatRepositories<'a, 'b>
[src]
Returns information about snapshot repositories registered in the cluster.
pub fn segments<'b>(
&'a self,
parts: CatSegmentsParts<'b>
) -> CatSegments<'a, 'b>
[src]
&'a self,
parts: CatSegmentsParts<'b>
) -> CatSegments<'a, 'b>
Provides low-level information about the segments in the shards of an index.
pub fn shards<'b>(&'a self, parts: CatShardsParts<'b>) -> CatShards<'a, 'b>
[src]
Provides a detailed view of shard allocation on nodes.
pub fn snapshots<'b>(
&'a self,
parts: CatSnapshotsParts<'b>
) -> CatSnapshots<'a, 'b>
[src]
&'a self,
parts: CatSnapshotsParts<'b>
) -> CatSnapshots<'a, 'b>
Returns all snapshots in a specific repository.
pub fn tasks<'b>(&'a self) -> CatTasks<'a, 'b>
[src]
Returns information about the tasks currently executing on one or more nodes in the cluster.
pub fn templates<'b>(
&'a self,
parts: CatTemplatesParts<'b>
) -> CatTemplates<'a, 'b>
[src]
&'a self,
parts: CatTemplatesParts<'b>
) -> CatTemplates<'a, 'b>
Returns information about existing templates.
pub fn thread_pool<'b>(
&'a self,
parts: CatThreadPoolParts<'b>
) -> CatThreadPool<'a, 'b>
[src]
&'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.
pub fn transforms<'b>(
&'a self,
parts: CatTransformsParts<'b>
) -> CatTransforms<'a, 'b>
[src]
&'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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,