pub struct Connection<CT: ClientTransport, BS: BrokerSelector> { /* private fields */ }
Expand description
Connection to Pinot
Implementations§
Source§impl<CT: ClientTransport, BS: BrokerSelector> Connection<CT, BS>
impl<CT: ClientTransport, BS: BrokerSelector> Connection<CT, BS>
Source§impl<CT: ClientTransport, BS: BrokerSelector> Connection<CT, BS>
impl<CT: ClientTransport, BS: BrokerSelector> Connection<CT, BS>
Sourcepub fn execute_sql<T: FromRow>(
&self,
table: &str,
query: &str,
include_stats: bool,
) -> Result<SqlResponse<T>>
pub fn execute_sql<T: FromRow>( &self, table: &str, query: &str, include_stats: bool, ) -> Result<SqlResponse<T>>
Execute SQL for a given table
Sourcepub fn execute_pql(
&self,
table: &str,
query: &str,
include_stats: bool,
) -> Result<PqlResponse>
pub fn execute_pql( &self, table: &str, query: &str, include_stats: bool, ) -> Result<PqlResponse>
Execute PQL for a given table
Trait Implementations§
Source§impl<CT: Clone + ClientTransport, BS: Clone + BrokerSelector> Clone for Connection<CT, BS>
impl<CT: Clone + ClientTransport, BS: Clone + BrokerSelector> Clone for Connection<CT, BS>
Source§fn clone(&self) -> Connection<CT, BS>
fn clone(&self) -> Connection<CT, BS>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<CT: Debug + ClientTransport, BS: Debug + BrokerSelector> Debug for Connection<CT, BS>
impl<CT: Debug + ClientTransport, BS: Debug + BrokerSelector> Debug for Connection<CT, BS>
Auto Trait Implementations§
impl<CT, BS> Freeze for Connection<CT, BS>
impl<CT, BS> RefUnwindSafe for Connection<CT, BS>where
CT: RefUnwindSafe,
BS: RefUnwindSafe,
impl<CT, BS> Send for Connection<CT, BS>
impl<CT, BS> Sync for Connection<CT, BS>
impl<CT, BS> Unpin for Connection<CT, BS>
impl<CT, BS> UnwindSafe for Connection<CT, BS>where
CT: UnwindSafe,
BS: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more