pub struct GetSqlInfoBuilder<'a> {
info: Vec<u32>,
infos: &'a SqlInfoData,
}
Expand description
A builder for a CommandGetSqlInfo
response.
Fields§
§info: Vec<u32>
requested SqlInfo
s. If empty means return all infos.
infos: &'a SqlInfoData
Implementations§
Source§impl GetSqlInfoBuilder<'_>
impl GetSqlInfoBuilder<'_>
Sourcepub fn build(self) -> Result<RecordBatch>
pub fn build(self) -> Result<RecordBatch>
Builds a RecordBatch
with the correct schema for a CommandGetSqlInfo
response
Sourcepub fn schema(&self) -> SchemaRef
pub fn schema(&self) -> SchemaRef
Return the schema of the RecordBatch that will be returned
from CommandGetSqlInfo
Auto Trait Implementations§
impl<'a> Freeze for GetSqlInfoBuilder<'a>
impl<'a> !RefUnwindSafe for GetSqlInfoBuilder<'a>
impl<'a> Send for GetSqlInfoBuilder<'a>
impl<'a> Sync for GetSqlInfoBuilder<'a>
impl<'a> Unpin for GetSqlInfoBuilder<'a>
impl<'a> !UnwindSafe for GetSqlInfoBuilder<'a>
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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