pub struct QueryStreamResult {
pub row_count: u64,
pub chunk_count: u64,
pub total_bytes: u64,
/* private fields */
}Expand description
Arrow IPC chunk 查询结果。 Arrow IPC chunk query result.
Fields§
§row_count: u64返回行数。 Number of rows returned.
chunk_count: u64chunk 数量。 Number of emitted chunks.
total_bytes: u64总字节数。 Total byte size of all chunks.
Implementations§
Source§impl QueryStreamResult
impl QueryStreamResult
Sourcepub fn read_chunk(&self, index: usize) -> Result<Vec<u8>, SqlExecCoreError>
pub fn read_chunk(&self, index: usize) -> Result<Vec<u8>, SqlExecCoreError>
读取指定下标的 chunk 内容。 Read the chunk content at the specified index.
Trait Implementations§
Source§impl Debug for QueryStreamResult
impl Debug for QueryStreamResult
Auto Trait Implementations§
impl Freeze for QueryStreamResult
impl RefUnwindSafe for QueryStreamResult
impl Send for QueryStreamResult
impl Sync for QueryStreamResult
impl Unpin for QueryStreamResult
impl UnsafeUnpin for QueryStreamResult
impl UnwindSafe for QueryStreamResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request