pub enum BinaryPredicateOp {
LessThan,
GreaterThan,
Equal,
Distinct,
In,
}Expand description
Variants§
LessThan
left < right.
GreaterThan
left > right.
Equal
left = right.
Distinct
SQL left IS DISTINCT FROM right: null-safe inequality, treating NULL as an ordinary
value. DISTINCT(1, 1) and DISTINCT(NULL, NULL) are false; DISTINCT(NULL, 1) is
true.
In
SQL left IN (elements): returns false when left is NULL. Otherwise, it returns true
when left equals any element and false when none match. NULL elements never match.
left must be a literal, and the elements are either a list-typed column or an
Expression::Literal holding a Scalar::Array, never a list of expressions or a
subquery:
2 IN (1, 2, 3) -- literal elements
2 IN (SELECT ...) -- unsupported: no subquery form
col IN (1, 2, 3) -- unsupported: the left operand must be a literalTesting a literal against a list column is the shape data skipping uses, and it is the reason the operands sit this way around rather than the more familiar column-on-the-left form.
Trait Implementations§
Source§impl Clone for BinaryPredicateOp
impl Clone for BinaryPredicateOp
Source§fn clone(&self) -> BinaryPredicateOp
fn clone(&self) -> BinaryPredicateOp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BinaryPredicateOp
Source§impl Debug for BinaryPredicateOp
impl Debug for BinaryPredicateOp
Source§impl<'de> Deserialize<'de> for BinaryPredicateOp
impl<'de> Deserialize<'de> for BinaryPredicateOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for BinaryPredicateOp
impl Display for BinaryPredicateOp
impl Eq for BinaryPredicateOp
Source§impl From<BinaryPredicateOp> for BinaryPredicateOp
Available on crate feature declarative-plans only.
impl From<BinaryPredicateOp> for BinaryPredicateOp
declarative-plans only.Source§fn from(op: BinaryPredicateOp) -> Self
fn from(op: BinaryPredicateOp) -> Self
Source§impl Hash for BinaryPredicateOp
impl Hash for BinaryPredicateOp
Source§impl PartialEq for BinaryPredicateOp
impl PartialEq for BinaryPredicateOp
Source§impl Serialize for BinaryPredicateOp
impl Serialize for BinaryPredicateOp
impl StructuralPartialEq for BinaryPredicateOp
Auto Trait Implementations§
impl Freeze for BinaryPredicateOp
impl RefUnwindSafe for BinaryPredicateOp
impl Send for BinaryPredicateOp
impl Sync for BinaryPredicateOp
impl Unpin for BinaryPredicateOp
impl UnsafeUnpin for BinaryPredicateOp
impl UnwindSafe for BinaryPredicateOp
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FoldWithOption for T
impl<T> FoldWithOption for 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.
Source§impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
Source§fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
arrow-conversion and (crate features arrow-conversion or declarative-plans or default-engine-base) only.Source§impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
Source§fn try_into_kernel(self) -> Result<KernelType, ArrowError>
fn try_into_kernel(self) -> Result<KernelType, ArrowError>
arrow-conversion and (crate features arrow-conversion or declarative-plans or default-engine-base) only.