Struct arrow_flight::sql::ActionCancelQueryRequest
source · pub struct ActionCancelQueryRequest {
pub info: Bytes,
}
Expand description
Request message for the “CancelQuery” action.
Explicitly cancel a running query.
This lets a single client explicitly cancel work, no matter how many clients are involved/whether the query is distributed or not, given server support. The transaction/statement is not rolled back; it is the application’s job to commit or rollback as appropriate. This only indicates the client no longer wishes to read the remainder of the query results or continue submitting data.
This command is idempotent.
This command is deprecated since 13.0.0. Use the “CancelFlightInfo” action with DoAction instead.
Fields§
§info: Bytes
The result of the GetFlightInfo RPC that initiated the query. XXX(ARROW-16902): this must be a serialized FlightInfo, but is rendered as bytes because Protobuf does not really support one DLL using Protobuf definitions from another DLL.
Trait Implementations§
source§impl Clone for ActionCancelQueryRequest
impl Clone for ActionCancelQueryRequest
source§fn clone(&self) -> ActionCancelQueryRequest
fn clone(&self) -> ActionCancelQueryRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionCancelQueryRequest
impl Debug for ActionCancelQueryRequest
source§impl Default for ActionCancelQueryRequest
impl Default for ActionCancelQueryRequest
source§impl Message for ActionCancelQueryRequest
impl Message for ActionCancelQueryRequest
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 ActionCancelQueryRequest
impl PartialEq for ActionCancelQueryRequest
source§fn eq(&self, other: &ActionCancelQueryRequest) -> bool
fn eq(&self, other: &ActionCancelQueryRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionCancelQueryRequest
Auto Trait Implementations§
impl !Freeze for ActionCancelQueryRequest
impl RefUnwindSafe for ActionCancelQueryRequest
impl Send for ActionCancelQueryRequest
impl Sync for ActionCancelQueryRequest
impl Unpin for ActionCancelQueryRequest
impl UnwindSafe for ActionCancelQueryRequest
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