Struct elasticsearch::sql::Sql
source · [−]pub struct Sql<'a> { /* private fields */ }
Expand description
Namespace client for Sql APIs
Implementations
sourceimpl<'a> Sql<'a>
impl<'a> Sql<'a>
pub fn transport(&self) -> &Transport
sourcepub fn clear_cursor<'b>(&'a self) -> SqlClearCursor<'a, 'b, ()>
pub fn clear_cursor<'b>(&'a self) -> SqlClearCursor<'a, 'b, ()>
Clears the SQL cursor
sourcepub fn delete_async<'b>(
&'a self,
parts: SqlDeleteAsyncParts<'b>
) -> SqlDeleteAsync<'a, 'b>
pub fn delete_async<'b>(
&'a self,
parts: SqlDeleteAsyncParts<'b>
) -> SqlDeleteAsync<'a, 'b>
Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.
sourcepub fn get_async<'b>(
&'a self,
parts: SqlGetAsyncParts<'b>
) -> SqlGetAsync<'a, 'b>
pub fn get_async<'b>(
&'a self,
parts: SqlGetAsyncParts<'b>
) -> SqlGetAsync<'a, 'b>
Returns the current status and available results for an async SQL search or stored synchronous SQL search
sourcepub fn get_async_status<'b>(
&'a self,
parts: SqlGetAsyncStatusParts<'b>
) -> SqlGetAsyncStatus<'a, 'b>
pub fn get_async_status<'b>(
&'a self,
parts: SqlGetAsyncStatusParts<'b>
) -> SqlGetAsyncStatus<'a, 'b>
Returns the current status of an async SQL search or a stored synchronous SQL search
sourcepub fn translate<'b>(&'a self) -> SqlTranslate<'a, 'b, ()>
pub fn translate<'b>(&'a self) -> SqlTranslate<'a, 'b, ()>
Translates SQL into Elasticsearch queries
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Sql<'a>
impl<'a> Send for Sql<'a>
impl<'a> Sync for Sql<'a>
impl<'a> Unpin for Sql<'a>
impl<'a> !UnwindSafe for Sql<'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