[−][src]Struct elasticsearch::cluster::Cluster
Namespace client for Cluster APIs
Implementations
impl<'a> Cluster<'a>
[src]
pub fn new(transport: &'a Transport) -> Self
[src]
Creates a new instance of Cluster
pub fn transport(&self) -> &Transport
[src]
pub fn allocation_explain<'b>(&'a self) -> ClusterAllocationExplain<'a, 'b, ()>
[src]
Cluster Allocation Explain API
Provides explanations for shard allocations in the cluster.
pub fn delete_voting_config_exclusions<'b>(
&'a self
) -> ClusterDeleteVotingConfigExclusions<'a, 'b>
[src]
&'a self
) -> ClusterDeleteVotingConfigExclusions<'a, 'b>
Cluster Delete Voting Config Exclusions API
Clears cluster voting config exclusions.
pub fn get_settings<'b>(&'a self) -> ClusterGetSettings<'a, 'b>
[src]
Returns cluster settings.
pub fn health<'b>(
&'a self,
parts: ClusterHealthParts<'b>
) -> ClusterHealth<'a, 'b>
[src]
&'a self,
parts: ClusterHealthParts<'b>
) -> ClusterHealth<'a, 'b>
Returns basic information about the health of the cluster.
pub fn pending_tasks<'b>(&'a self) -> ClusterPendingTasks<'a, 'b>
[src]
Returns a list of any cluster-level changes (e.g. create index, update mapping, allocate or fail shard) which have not yet been executed.
pub fn post_voting_config_exclusions<'b>(
&'a self
) -> ClusterPostVotingConfigExclusions<'a, 'b, ()>
[src]
&'a self
) -> ClusterPostVotingConfigExclusions<'a, 'b, ()>
Cluster Post Voting Config Exclusions API
Updates the cluster voting config exclusions by node ids or node names.
pub fn put_settings<'b>(&'a self) -> ClusterPutSettings<'a, 'b, ()>
[src]
Updates the cluster settings.
pub fn remote_info<'b>(&'a self) -> ClusterRemoteInfo<'a, 'b>
[src]
Returns the information about configured remote clusters.
pub fn reroute<'b>(&'a self) -> ClusterReroute<'a, 'b, ()>
[src]
Allows to manually change the allocation of individual shards in the cluster.
pub fn state<'b>(&'a self, parts: ClusterStateParts<'b>) -> ClusterState<'a, 'b>
[src]
Returns a comprehensive information about the state of the cluster.
pub fn stats<'b>(&'a self, parts: ClusterStatsParts<'b>) -> ClusterStats<'a, 'b>
[src]
Returns high-level overview of cluster statistics.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Cluster<'a>
impl<'a> Send for Cluster<'a>
impl<'a> Sync for Cluster<'a>
impl<'a> Unpin for Cluster<'a>
impl<'a> !UnwindSafe for Cluster<'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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
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>,