pub struct ExecutePlanResponse {
pub session_id: String,
pub operation_id: String,
pub response_id: String,
pub metrics: Option<Metrics>,
pub observed_metrics: Vec<ObservedMetrics>,
pub schema: Option<DataType>,
pub response_type: Option<ResponseType>,
}
Expand description
The response of a query, can be one or more for each request. Responses belonging to the
same input query, carry the same session_id
.
Fields§
§session_id: String
§operation_id: String
Identifies the ExecutePlan execution.
If set by the client in ExecutePlanRequest.operationId, that value is returned.
Otherwise generated by the server.
It is an UUID string of the format 00112233-4455-6677-8899-aabbccddeeff
response_id: String
Identified the response in the stream.
The id is an UUID string of the format 00112233-4455-6677-8899-aabbccddeeff
metrics: Option<Metrics>
Metrics for the query execution. Typically, this field is only present in the last batch of results and then represent the overall state of the query execution.
observed_metrics: Vec<ObservedMetrics>
The metrics observed during the execution of the query plan.
schema: Option<DataType>
(Optional) The Spark schema. This field is available when collect
is called.
response_type: Option<ResponseType>
Union type for the different response messages.
Trait Implementations§
Source§impl Clone for ExecutePlanResponse
impl Clone for ExecutePlanResponse
Source§fn clone(&self) -> ExecutePlanResponse
fn clone(&self) -> ExecutePlanResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecutePlanResponse
impl Debug for ExecutePlanResponse
Source§impl Default for ExecutePlanResponse
impl Default for ExecutePlanResponse
Source§impl Message for ExecutePlanResponse
impl Message for ExecutePlanResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for ExecutePlanResponse
impl PartialEq for ExecutePlanResponse
impl StructuralPartialEq for ExecutePlanResponse
Auto Trait Implementations§
impl Freeze for ExecutePlanResponse
impl RefUnwindSafe for ExecutePlanResponse
impl Send for ExecutePlanResponse
impl Sync for ExecutePlanResponse
impl Unpin for ExecutePlanResponse
impl UnwindSafe for ExecutePlanResponse
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§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