Struct arrow_flight::sql::CommandGetXdbcTypeInfo
source · 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: int not null (The SQL data type),
column_size: int (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
Fields§
§data_type: Option<i32>Specifies the data type to search for the info.
Implementations§
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 Message for CommandGetXdbcTypeInfo
impl Message for CommandGetXdbcTypeInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self.source§impl PartialEq<CommandGetXdbcTypeInfo> for CommandGetXdbcTypeInfo
impl PartialEq<CommandGetXdbcTypeInfo> for CommandGetXdbcTypeInfo
source§fn eq(&self, other: &CommandGetXdbcTypeInfo) -> bool
fn eq(&self, other: &CommandGetXdbcTypeInfo) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CommandGetXdbcTypeInfo
Auto Trait Implementations§
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> 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>
T in a tonic::Request