pub struct ActionCreatePreparedStatementResult {
pub prepared_statement_handle: Bytes,
pub dataset_schema: Bytes,
pub parameter_schema: Bytes,
}
Expand description
Wrap the result of a “CreatePreparedStatement” or “CreatePreparedSubstraitPlan” action.
The resultant PreparedStatement can be closed either:
- Manually, through the “ClosePreparedStatement” action;
- Automatically, by a server timeout.
The result should be wrapped in a google.protobuf.Any message.
Fields§
§prepared_statement_handle: Bytes
Opaque handle for the prepared statement on the server.
dataset_schema: Bytes
If a result set generating query was provided, dataset_schema contains the schema of the result set. It should be an IPC-encapsulated Schema, as described in Schema.fbs. For some queries, the schema of the results may depend on the schema of the parameters. The server should provide its best guess as to the schema at this point. Clients must not assume that this schema, if provided, will be accurate.
parameter_schema: Bytes
If the query provided contained parameters, parameter_schema contains the schema of the expected parameters. It should be an IPC-encapsulated Schema, as described in Schema.fbs.
Trait Implementations§
Source§impl Clone for ActionCreatePreparedStatementResult
impl Clone for ActionCreatePreparedStatementResult
Source§fn clone(&self) -> ActionCreatePreparedStatementResult
fn clone(&self) -> ActionCreatePreparedStatementResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Message for ActionCreatePreparedStatementResult
impl Message for ActionCreatePreparedStatementResult
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 ActionCreatePreparedStatementResult
impl PartialEq for ActionCreatePreparedStatementResult
Source§fn eq(&self, other: &ActionCreatePreparedStatementResult) -> bool
fn eq(&self, other: &ActionCreatePreparedStatementResult) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionCreatePreparedStatementResult
Auto Trait Implementations§
impl !Freeze for ActionCreatePreparedStatementResult
impl RefUnwindSafe for ActionCreatePreparedStatementResult
impl Send for ActionCreatePreparedStatementResult
impl Sync for ActionCreatePreparedStatementResult
impl Unpin for ActionCreatePreparedStatementResult
impl UnwindSafe for ActionCreatePreparedStatementResult
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§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>
T
in a tonic::Request