Struct elasticsearch::ccr::Ccr [−][src]
Namespace client for Cross Cluster Replication APIs
Implementations
impl<'a> Ccr<'a>
[src]
pub fn new(transport: &'a Transport) -> Self
[src]
Creates a new instance of Ccr
pub fn transport(&self) -> &Transport
[src]
pub fn delete_auto_follow_pattern<'b>(
&'a self,
parts: CcrDeleteAutoFollowPatternParts<'b>
) -> CcrDeleteAutoFollowPattern<'a, 'b>
[src]
&'a self,
parts: CcrDeleteAutoFollowPatternParts<'b>
) -> CcrDeleteAutoFollowPattern<'a, 'b>
Ccr Delete Auto Follow Pattern API
Deletes auto-follow patterns.
pub fn follow<'b>(&'a self, parts: CcrFollowParts<'b>) -> CcrFollow<'a, 'b, ()>
[src]
Creates a new follower index configured to follow the referenced leader index.
pub fn follow_info<'b>(
&'a self,
parts: CcrFollowInfoParts<'b>
) -> CcrFollowInfo<'a, 'b>
[src]
&'a self,
parts: CcrFollowInfoParts<'b>
) -> CcrFollowInfo<'a, 'b>
Retrieves information about all follower indices, including parameters and status for each follower index
pub fn follow_stats<'b>(
&'a self,
parts: CcrFollowStatsParts<'b>
) -> CcrFollowStats<'a, 'b>
[src]
&'a self,
parts: CcrFollowStatsParts<'b>
) -> CcrFollowStats<'a, 'b>
Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
pub fn forget_follower<'b>(
&'a self,
parts: CcrForgetFollowerParts<'b>
) -> CcrForgetFollower<'a, 'b, ()>
[src]
&'a self,
parts: CcrForgetFollowerParts<'b>
) -> CcrForgetFollower<'a, 'b, ()>
Removes the follower retention leases from the leader.
pub fn get_auto_follow_pattern<'b>(
&'a self,
parts: CcrGetAutoFollowPatternParts<'b>
) -> CcrGetAutoFollowPattern<'a, 'b>
[src]
&'a self,
parts: CcrGetAutoFollowPatternParts<'b>
) -> CcrGetAutoFollowPattern<'a, 'b>
Ccr Get Auto Follow Pattern API
Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
pub fn pause_auto_follow_pattern<'b>(
&'a self,
parts: CcrPauseAutoFollowPatternParts<'b>
) -> CcrPauseAutoFollowPattern<'a, 'b, ()>
[src]
&'a self,
parts: CcrPauseAutoFollowPatternParts<'b>
) -> CcrPauseAutoFollowPattern<'a, 'b, ()>
Ccr Pause Auto Follow Pattern API
Pauses an auto-follow pattern
pub fn pause_follow<'b>(
&'a self,
parts: CcrPauseFollowParts<'b>
) -> CcrPauseFollow<'a, 'b, ()>
[src]
&'a self,
parts: CcrPauseFollowParts<'b>
) -> CcrPauseFollow<'a, 'b, ()>
Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
pub fn put_auto_follow_pattern<'b>(
&'a self,
parts: CcrPutAutoFollowPatternParts<'b>
) -> CcrPutAutoFollowPattern<'a, 'b, ()>
[src]
&'a self,
parts: CcrPutAutoFollowPatternParts<'b>
) -> CcrPutAutoFollowPattern<'a, 'b, ()>
Ccr Put Auto Follow Pattern API
Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
pub fn resume_auto_follow_pattern<'b>(
&'a self,
parts: CcrResumeAutoFollowPatternParts<'b>
) -> CcrResumeAutoFollowPattern<'a, 'b, ()>
[src]
&'a self,
parts: CcrResumeAutoFollowPatternParts<'b>
) -> CcrResumeAutoFollowPattern<'a, 'b, ()>
Ccr Resume Auto Follow Pattern API
Resumes an auto-follow pattern that has been paused
pub fn resume_follow<'b>(
&'a self,
parts: CcrResumeFollowParts<'b>
) -> CcrResumeFollow<'a, 'b, ()>
[src]
&'a self,
parts: CcrResumeFollowParts<'b>
) -> CcrResumeFollow<'a, 'b, ()>
Resumes a follower index that has been paused
pub fn stats<'b>(&'a self) -> CcrStats<'a, 'b>
[src]
Gets all stats related to cross-cluster replication.
pub fn unfollow<'b>(
&'a self,
parts: CcrUnfollowParts<'b>
) -> CcrUnfollow<'a, 'b, ()>
[src]
&'a self,
parts: CcrUnfollowParts<'b>
) -> CcrUnfollow<'a, 'b, ()>
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Ccr<'a>
impl<'a> Send for Ccr<'a>
impl<'a> Sync for Ccr<'a>
impl<'a> Unpin for Ccr<'a>
impl<'a> !UnwindSafe for Ccr<'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]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub 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>,