pub struct SqlQueryHandle { /* private fields */ }Implementations§
Source§impl SqlQueryHandle
impl SqlQueryHandle
pub fn id(&self) -> QueryId
pub fn cancel(&self) -> CancelOutcome
pub fn status(&self) -> Option<QueryStatus>
pub fn wait(self) -> Result<Vec<RecordBatch>>
pub fn wait_arrow(self) -> Result<Vec<u8>>
pub fn wait_arrow_with_limits(self, limits: SqlOutputLimits) -> Result<Vec<u8>>
pub fn wait_rows(self) -> Result<Vec<Map<String, Value>>>
pub fn wait_rows_with_limits( self, limits: SqlOutputLimits, ) -> Result<Vec<Map<String, Value>>>
pub fn wait_for_serialization(self) -> Result<ManagedQueryBatches>
Trait Implementations§
Source§impl Drop for SqlQueryHandle
impl Drop for SqlQueryHandle
Auto Trait Implementations§
impl !RefUnwindSafe for SqlQueryHandle
impl !UnwindSafe for SqlQueryHandle
impl Freeze for SqlQueryHandle
impl Send for SqlQueryHandle
impl Sync for SqlQueryHandle
impl Unpin for SqlQueryHandle
impl UnsafeUnpin for SqlQueryHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more