Struct spark_connect_rs::spark::ExecutePlanResponse
source · 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>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<ExecutePlanResponse> for ExecutePlanResponse
impl PartialEq<ExecutePlanResponse> for ExecutePlanResponse
source§fn eq(&self, other: &ExecutePlanResponse) -> bool
fn eq(&self, other: &ExecutePlanResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutePlanResponse
Auto Trait Implementations§
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> 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