Enum cql3_parser::common::RelationOperator
source · [−]pub enum RelationOperator {
LessThan,
LessThanOrEqual,
Equal,
NotEqual,
GreaterThanOrEqual,
GreaterThan,
In,
Contains,
ContainsKey,
IsNot,
}Expand description
A relation operator used in WHERE and IF clauses.
Variants
LessThan
LessThanOrEqual
Equal
NotEqual
GreaterThanOrEqual
GreaterThan
In
Contains
ContainsKey
IsNot
this is not used in normal cases it is used in the MaterializedView to specify a collumn that must not be null.
Implementations
Trait Implementations
sourceimpl Clone for RelationOperator
impl Clone for RelationOperator
sourcefn clone(&self) -> RelationOperator
fn clone(&self) -> RelationOperator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RelationOperator
impl Debug for RelationOperator
sourceimpl Display for RelationOperator
impl Display for RelationOperator
sourceimpl Ord for RelationOperator
impl Ord for RelationOperator
sourcefn cmp(&self, other: &RelationOperator) -> Ordering
fn cmp(&self, other: &RelationOperator) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RelationOperator> for RelationOperator
impl PartialEq<RelationOperator> for RelationOperator
sourcefn eq(&self, other: &RelationOperator) -> bool
fn eq(&self, other: &RelationOperator) -> bool
sourceimpl PartialOrd<RelationOperator> for RelationOperator
impl PartialOrd<RelationOperator> for RelationOperator
sourcefn partial_cmp(&self, other: &RelationOperator) -> Option<Ordering>
fn partial_cmp(&self, other: &RelationOperator) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for RelationOperator
impl StructuralEq for RelationOperator
impl StructuralPartialEq for RelationOperator
Auto Trait Implementations
impl RefUnwindSafe for RelationOperator
impl Send for RelationOperator
impl Sync for RelationOperator
impl Unpin for RelationOperator
impl UnwindSafe for RelationOperator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more