pub struct CommandGetXdbcTypeInfo {
    pub data_type: Option<i32>,
}Expand description
Represents a request to retrieve information about data type supported on a Flight SQL enabled backend. Used in the command member of FlightDescriptor for the following RPC calls:
- GetSchema: return the schema of the query.
- GetFlightInfo: execute the catalog metadata request.
The returned schema will be:
<
type_name: utf8 not null (The name of the data type, for example: VARCHAR, INTEGER, etc),
data_type: int32 not null (The SQL data type),
column_size: int32 (The maximum size supported by that column.
In case of exact numeric types, this represents the maximum precision.
In case of string types, this represents the character length.
In case of datetime data types, this represents the length in characters of the string representation.
NULL is returned for data types where column size is not applicable.),
literal_prefix: utf8 (Character or characters used to prefix a literal, NULL is returned for
data types where a literal prefix is not applicable.),
literal_suffix: utf8 (Character or characters used to terminate a literal,
NULL is returned for data types where a literal suffix is not applicable.),
create_params: list
The returned data should be ordered by data_type and then by type_name.
Fields§
§data_type: Option<i32>Specifies the data type to search for the info.
Implementations§
Source§impl CommandGetXdbcTypeInfo
 
impl CommandGetXdbcTypeInfo
Sourcepub fn into_builder(
    self,
    infos: &XdbcTypeInfoData,
) -> GetXdbcTypeInfoBuilder<'_>
 
pub fn into_builder( self, infos: &XdbcTypeInfoData, ) -> GetXdbcTypeInfoBuilder<'_>
Create a builder suitable for constructing a response
Trait Implementations§
Source§impl Clone for CommandGetXdbcTypeInfo
 
impl Clone for CommandGetXdbcTypeInfo
Source§fn clone(&self) -> CommandGetXdbcTypeInfo
 
fn clone(&self) -> CommandGetXdbcTypeInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommandGetXdbcTypeInfo
 
impl Debug for CommandGetXdbcTypeInfo
Source§impl Default for CommandGetXdbcTypeInfo
 
impl Default for CommandGetXdbcTypeInfo
Source§impl Hash for CommandGetXdbcTypeInfo
 
impl Hash for CommandGetXdbcTypeInfo
Source§impl Message for CommandGetXdbcTypeInfo
 
impl Message for CommandGetXdbcTypeInfo
Source§fn encoded_len(&self) -> usize
 
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,
 
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
 
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
Source§fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,
 
fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
 
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
 
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
 
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
 
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
 
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
self.Source§impl PartialEq for CommandGetXdbcTypeInfo
 
impl PartialEq for CommandGetXdbcTypeInfo
impl Copy for CommandGetXdbcTypeInfo
impl Eq for CommandGetXdbcTypeInfo
impl StructuralPartialEq for CommandGetXdbcTypeInfo
Auto Trait Implementations§
impl Freeze for CommandGetXdbcTypeInfo
impl RefUnwindSafe for CommandGetXdbcTypeInfo
impl Send for CommandGetXdbcTypeInfo
impl Sync for CommandGetXdbcTypeInfo
impl Unpin for CommandGetXdbcTypeInfo
impl UnwindSafe for CommandGetXdbcTypeInfo
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§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>
§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
 
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
    L: Layer<S>,
 
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
    L: Layer<S>,
Layered].