pub struct Rollup<'a> { /* private fields */ }
Expand description
Namespace client for Rollup APIs
§Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
Implementations§
Source§impl<'a> Rollup<'a>
impl<'a> Rollup<'a>
pub fn transport(&self) -> &Transport
Sourcepub fn delete_job<'b>(
&'a self,
parts: RollupDeleteJobParts<'b>,
) -> RollupDeleteJob<'a, 'b>
pub fn delete_job<'b>( &'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.
Sourcepub fn get_jobs<'b>(
&'a self,
parts: RollupGetJobsParts<'b>,
) -> RollupGetJobs<'a, 'b>
pub fn get_jobs<'b>( &'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.
Sourcepub fn get_rollup_caps<'b>(
&'a self,
parts: RollupGetRollupCapsParts<'b>,
) -> RollupGetRollupCaps<'a, 'b>
pub fn get_rollup_caps<'b>( &'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.
Sourcepub fn get_rollup_index_caps<'b>(
&'a self,
parts: RollupGetRollupIndexCapsParts<'b>,
) -> RollupGetRollupIndexCaps<'a, 'b>
pub fn get_rollup_index_caps<'b>( &'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.
Sourcepub fn put_job<'b>(
&'a self,
parts: RollupPutJobParts<'b>,
) -> RollupPutJob<'a, 'b, ()>
pub fn put_job<'b>( &'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.
Sourcepub fn rollup_search<'b>(
&'a self,
parts: RollupRollupSearchParts<'b>,
) -> RollupRollupSearch<'a, 'b, ()>
pub fn rollup_search<'b>( &'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.
Sourcepub fn start_job<'b>(
&'a self,
parts: RollupStartJobParts<'b>,
) -> RollupStartJob<'a, 'b, ()>
pub fn start_job<'b>( &'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.
Sourcepub fn stop_job<'b>(
&'a self,
parts: RollupStopJobParts<'b>,
) -> RollupStopJob<'a, 'b, ()>
pub fn stop_job<'b>( &'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.