Trait cdrs::query::QueryExecutor [−][src]
pub trait QueryExecutor<'a, T: CDRSTransport + 'a>: GetTransport<'a, T> + GetCompressor<'a> { fn query_with_params_tw<Q: ToString>(
&mut self,
query: Q,
query_params: QueryParams,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame> { ... } fn query<Q: ToString>(&mut self, query: Q) -> Result<Frame> { ... } fn query_tw<Q: ToString>(
&mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame> { ... } fn query_with_values<Q: ToString, V: Into<QueryValues>>(
&mut self,
query: Q,
values: V
) -> Result<Frame> { ... } fn query_with_values_tw<Q: ToString, V: Into<QueryValues>>(
&mut self,
query: Q,
values: V,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame> { ... } fn query_with_params<Q: ToString>(
&mut self,
query: Q,
query_params: QueryParams
) -> Result<Frame> { ... } }
Provided Methods
fn query_with_params_tw<Q: ToString>(
&mut self,
query: Q,
query_params: QueryParams,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
&mut self,
query: Q,
query_params: QueryParams,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
fn query<Q: ToString>(&mut self, query: Q) -> Result<Frame>
Executes a query with default parameters:
- TDB
fn query_tw<Q: ToString>(
&mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
&mut self,
query: Q,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
Executes a query with ability to trace it and see warnings, and default parameters:
- TBD
fn query_with_values<Q: ToString, V: Into<QueryValues>>(
&mut self,
query: Q,
values: V
) -> Result<Frame>
&mut self,
query: Q,
values: V
) -> Result<Frame>
Executes a query with bounded values (either with or without names).
fn query_with_values_tw<Q: ToString, V: Into<QueryValues>>(
&mut self,
query: Q,
values: V,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
&mut self,
query: Q,
values: V,
with_tracing: bool,
with_warnings: bool
) -> Result<Frame>
Executes a query with bounded values (either with or without names) and ability to see warnings, trace a request and default parameters.
fn query_with_params<Q: ToString>(
&mut self,
query: Q,
query_params: QueryParams
) -> Result<Frame>
&mut self,
query: Q,
query_params: QueryParams
) -> Result<Frame>
Executes a query with query params without warnings and tracing.
Implementors
impl<'a, T: CDRSTransport + 'a, LB: LoadBalancingStrategy<T> + Sized, A: Authenticator + Sized> QueryExecutor<'a, T> for Session<LB, A>