Struct elasticsearch::ingest::Ingest
source · [−]pub struct Ingest<'a> { /* private fields */ }
Expand description
Namespace client for Ingest APIs
Implementations
sourceimpl<'a> Ingest<'a>
impl<'a> Ingest<'a>
pub fn transport(&self) -> &Transport
sourcepub fn delete_pipeline<'b>(
&'a self,
parts: IngestDeletePipelineParts<'b>
) -> IngestDeletePipeline<'a, 'b>
pub fn delete_pipeline<'b>(
&'a self,
parts: IngestDeletePipelineParts<'b>
) -> IngestDeletePipeline<'a, 'b>
Deletes a pipeline.
sourcepub fn geo_ip_stats<'b>(&'a self) -> IngestGeoIpStats<'a, 'b>
pub fn geo_ip_stats<'b>(&'a self) -> IngestGeoIpStats<'a, 'b>
Returns statistical information about geoip databases
sourcepub fn get_pipeline<'b>(
&'a self,
parts: IngestGetPipelineParts<'b>
) -> IngestGetPipeline<'a, 'b>
pub fn get_pipeline<'b>(
&'a self,
parts: IngestGetPipelineParts<'b>
) -> IngestGetPipeline<'a, 'b>
Returns a pipeline.
sourcepub fn processor_grok<'b>(&'a self) -> IngestProcessorGrok<'a, 'b>
pub fn processor_grok<'b>(&'a self) -> IngestProcessorGrok<'a, 'b>
Returns a list of the built-in patterns.
sourcepub fn put_pipeline<'b>(
&'a self,
parts: IngestPutPipelineParts<'b>
) -> IngestPutPipeline<'a, 'b, ()>
pub fn put_pipeline<'b>(
&'a self,
parts: IngestPutPipelineParts<'b>
) -> IngestPutPipeline<'a, 'b, ()>
Creates or updates a pipeline.
sourcepub fn simulate<'b>(
&'a self,
parts: IngestSimulateParts<'b>
) -> IngestSimulate<'a, 'b, ()>
pub fn simulate<'b>(
&'a self,
parts: IngestSimulateParts<'b>
) -> IngestSimulate<'a, 'b, ()>
Allows to simulate a pipeline with example documents.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Ingest<'a>
impl<'a> Send for Ingest<'a>
impl<'a> Sync for Ingest<'a>
impl<'a> Unpin for Ingest<'a>
impl<'a> !UnwindSafe for Ingest<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more