pub struct SetOperation {
pub left_input: Option<Box<Relation>>,
pub right_input: Option<Box<Relation>>,
pub set_op_type: i32,
pub is_all: Option<bool>,
pub by_name: Option<bool>,
pub allow_missing_columns: Option<bool>,
}
Expand description
Relation of type [SetOperation]
Fields§
§left_input: Option<Box<Relation>>
(Required) Left input relation for a Set operation.
right_input: Option<Box<Relation>>
(Required) Right input relation for a Set operation.
set_op_type: i32
(Required) The Set operation type.
is_all: Option<bool>
(Optional) If to remove duplicate rows.
True to preserve all results. False to remove duplicate rows.
by_name: Option<bool>
(Optional) If to perform the Set operation based on name resolution.
Only UNION supports this option.
allow_missing_columns: Option<bool>
(Optional) If to perform the Set operation and allow missing columns.
Only UNION supports this option.
Implementations§
Source§impl SetOperation
impl SetOperation
Sourcepub fn set_op_type(&self) -> SetOpType
pub fn set_op_type(&self) -> SetOpType
Returns the enum value of set_op_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_set_op_type(&mut self, value: SetOpType)
pub fn set_set_op_type(&mut self, value: SetOpType)
Sets set_op_type
to the provided enum value.
Sourcepub fn is_all(&self) -> bool
pub fn is_all(&self) -> bool
Returns the value of is_all
, or the default value if is_all
is unset.
Sourcepub fn by_name(&self) -> bool
pub fn by_name(&self) -> bool
Returns the value of by_name
, or the default value if by_name
is unset.
Sourcepub fn allow_missing_columns(&self) -> bool
pub fn allow_missing_columns(&self) -> bool
Returns the value of allow_missing_columns
, or the default value if allow_missing_columns
is unset.
Trait Implementations§
Source§impl Clone for SetOperation
impl Clone for SetOperation
Source§fn clone(&self) -> SetOperation
fn clone(&self) -> SetOperation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SetOperation
impl Debug for SetOperation
Source§impl Default for SetOperation
impl Default for SetOperation
Source§impl Message for SetOperation
impl Message for SetOperation
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 SetOperation
impl PartialEq for SetOperation
impl StructuralPartialEq for SetOperation
Auto Trait Implementations§
impl Freeze for SetOperation
impl RefUnwindSafe for SetOperation
impl Send for SetOperation
impl Sync for SetOperation
impl Unpin for SetOperation
impl UnwindSafe for SetOperation
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