Enum substrait_validator::input::proto::substrait::aggregate_function::AggregationInvocation
source · [−]#[repr(i32)]
pub enum AggregationInvocation {
Unspecified,
All,
Distinct,
}Variants
Unspecified
All
Use all values in aggregation calculation
Distinct
Use only distinct values in aggregation calculation
Implementations
Trait Implementations
sourceimpl Clone for AggregationInvocation
impl Clone for AggregationInvocation
sourcefn clone(&self) -> AggregationInvocation
fn clone(&self) -> AggregationInvocation
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 more
sourceimpl Debug for AggregationInvocation
impl Debug for AggregationInvocation
sourceimpl Default for AggregationInvocation
impl Default for AggregationInvocation
sourcefn default() -> AggregationInvocation
fn default() -> AggregationInvocation
Returns the “default value” for a type. Read more
sourceimpl From<AggregationInvocation> for i32
impl From<AggregationInvocation> for i32
sourcefn from(value: AggregationInvocation) -> i32
fn from(value: AggregationInvocation) -> i32
Converts to this type from the input type.
sourceimpl Hash for AggregationInvocation
impl Hash for AggregationInvocation
sourceimpl Ord for AggregationInvocation
impl Ord for AggregationInvocation
sourceimpl PartialOrd<AggregationInvocation> for AggregationInvocation
impl PartialOrd<AggregationInvocation> for AggregationInvocation
sourcefn partial_cmp(&self, other: &AggregationInvocation) -> Option<Ordering>
fn partial_cmp(&self, other: &AggregationInvocation) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
sourceimpl ProtoEnum for AggregationInvocation
impl ProtoEnum for AggregationInvocation
sourcefn proto_enum_type() -> &'static str
fn proto_enum_type() -> &'static str
Returns the protobuf type name for enums of this type.
sourcefn proto_enum_default_variant() -> &'static str
fn proto_enum_default_variant() -> &'static str
Returns the name of the default variant of an enum.
sourcefn proto_enum_variant(&self) -> &'static str
fn proto_enum_variant(&self) -> &'static str
Returns the name of the selected variant of an enum.
sourcefn proto_enum_from_i32(x: i32) -> Option<Self>
fn proto_enum_from_i32(x: i32) -> Option<Self>
Returns the enumeration entry corresponding to the given integer value, if any. Read more
impl Copy for AggregationInvocation
impl Eq for AggregationInvocation
impl StructuralEq for AggregationInvocation
impl StructuralPartialEq for AggregationInvocation
Auto Trait Implementations
impl RefUnwindSafe for AggregationInvocation
impl Send for AggregationInvocation
impl Sync for AggregationInvocation
impl Unpin for AggregationInvocation
impl UnwindSafe for AggregationInvocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> InputNode for T where
T: ProtoPrimitive,
impl<T> InputNode for T where
T: ProtoPrimitive,
sourcefn type_to_node() -> Node
fn type_to_node() -> Node
Creates an empty output node for a protobuf datum of this type. Read more
sourcefn data_to_node(&self) -> Node
fn data_to_node(&self) -> Node
Creates an empty output node for a protobuf datum with this value.
sourcefn oneof_variant(&self) -> Option<&'static str>
fn oneof_variant(&self) -> Option<&'static str>
Returns the name of the selected variant of a oneof field, if this is a rust enum used to represent a oneof field. Read more
sourcefn parse_unknown(&self, _context: &mut Context<'_>) -> bool
fn parse_unknown(&self, _context: &mut Context<'_>) -> bool
Complete the subtrees of this datum in output that have not already been parsed using UnknownField nodes. Returns whether any such nodes were added. Read more
sourceimpl<T> ProtoPrimitive for T where
T: ProtoEnum,
impl<T> ProtoPrimitive for T where
T: ProtoEnum,
sourcefn proto_primitive_type() -> &'static str
fn proto_primitive_type() -> &'static str
Returns the protobuf type name for primitives of this type.
sourcefn proto_primitive_default() -> PrimitiveData
fn proto_primitive_default() -> PrimitiveData
Returns the protobuf-specified default value for this primitive data type. Read more
sourcefn proto_primitive_data(&self) -> PrimitiveData
fn proto_primitive_data(&self) -> PrimitiveData
Returns the actual value for this primitive data type as a ProtoPrimitiveData variant. Read more
sourcefn proto_primitive_is_default(&self) -> bool
fn proto_primitive_is_default(&self) -> bool
Returns whether this is the default value of the primitive.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more