Struct elasticsearch::rollup::Rollup [−][src]
Namespace client for Rollup APIs
Implementations
impl<'a> Rollup<'a>
[src]
pub fn new(transport: &'a Transport) -> Self
[src]
Creates a new instance of Rollup
pub fn transport(&self) -> &Transport
[src]
pub fn delete_job<'b>(
&'a self,
parts: RollupDeleteJobParts<'b>
) -> RollupDeleteJob<'a, 'b>
[src]
&'a self,
parts: RollupDeleteJobParts<'b>
) -> RollupDeleteJob<'a, 'b>
Deletes an existing rollup job.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn get_jobs<'b>(
&'a self,
parts: RollupGetJobsParts<'b>
) -> RollupGetJobs<'a, 'b>
[src]
&'a self,
parts: RollupGetJobsParts<'b>
) -> RollupGetJobs<'a, 'b>
Retrieves the configuration, stats, and status of rollup jobs.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn get_rollup_caps<'b>(
&'a self,
parts: RollupGetRollupCapsParts<'b>
) -> RollupGetRollupCaps<'a, 'b>
[src]
&'a self,
parts: RollupGetRollupCapsParts<'b>
) -> RollupGetRollupCaps<'a, 'b>
Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn get_rollup_index_caps<'b>(
&'a self,
parts: RollupGetRollupIndexCapsParts<'b>
) -> RollupGetRollupIndexCaps<'a, 'b>
[src]
&'a self,
parts: RollupGetRollupIndexCapsParts<'b>
) -> RollupGetRollupIndexCaps<'a, 'b>
Rollup Get Rollup Index Caps API
Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored).
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn put_job<'b>(
&'a self,
parts: RollupPutJobParts<'b>
) -> RollupPutJob<'a, 'b, ()>
[src]
&'a self,
parts: RollupPutJobParts<'b>
) -> RollupPutJob<'a, 'b, ()>
Creates a rollup job.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn rollup<'b>(
&'a self,
parts: RollupRollupParts<'b>
) -> RollupRollup<'a, 'b, ()>
[src]
&'a self,
parts: RollupRollupParts<'b>
) -> RollupRollup<'a, 'b, ()>
Rollup an index
pub fn rollup_search<'b>(
&'a self,
parts: RollupRollupSearchParts<'b>
) -> RollupRollupSearch<'a, 'b, ()>
[src]
&'a self,
parts: RollupRollupSearchParts<'b>
) -> RollupRollupSearch<'a, 'b, ()>
Enables searching rolled-up data using the standard query DSL.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn start_job<'b>(
&'a self,
parts: RollupStartJobParts<'b>
) -> RollupStartJob<'a, 'b, ()>
[src]
&'a self,
parts: RollupStartJobParts<'b>
) -> RollupStartJob<'a, 'b, ()>
Starts an existing, stopped rollup job.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn stop_job<'b>(
&'a self,
parts: RollupStopJobParts<'b>
) -> RollupStopJob<'a, 'b, ()>
[src]
&'a self,
parts: RollupStopJobParts<'b>
) -> RollupStopJob<'a, 'b, ()>
Stops an existing, started rollup job.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Rollup<'a>
impl<'a> Send for Rollup<'a>
impl<'a> Sync for Rollup<'a>
impl<'a> Unpin for Rollup<'a>
impl<'a> !UnwindSafe for Rollup<'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>,