pub struct AggregateMeta(/* private fields */);
Expand description
Metadata about a cassandra aggregate
Implementations§
Source§impl AggregateMeta
impl AggregateMeta
Sourcepub fn fields_iter(&self) -> FieldIterator ⓘ
pub fn fields_iter(&self) -> FieldIterator ⓘ
An iterator over the fields of an aggregate
Sourcepub fn argument_count(&self) -> usize
pub fn argument_count(&self) -> usize
Gets the number of arguments this aggregate takes.
Sourcepub fn argument_type(&self, index: usize) -> ConstDataType
pub fn argument_type(&self, index: usize) -> ConstDataType
Gets the aggregate’s argument type for the provided index.
Sourcepub fn return_type(&self) -> ConstDataType
pub fn return_type(&self) -> ConstDataType
Gets the aggregate’s argument return type.
Sourcepub fn state_type(&self) -> ConstDataType
pub fn state_type(&self) -> ConstDataType
Gets the aggregate’s argument state type.
Sourcepub fn state_func(&self) -> FunctionMeta
pub fn state_func(&self) -> FunctionMeta
Gets the function metadata for the aggregate’s state function.
Sourcepub fn final_func(&self) -> FunctionMeta
pub fn final_func(&self) -> FunctionMeta
Gets the function metadata for the aggregates’s final function.
Sourcepub fn field_by_name(&self, name: &str) -> Option<Value>
pub fn field_by_name(&self, name: &str) -> Option<Value>
Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “aggregates” metadata table.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AggregateMeta
impl RefUnwindSafe for AggregateMeta
impl !Send for AggregateMeta
impl !Sync for AggregateMeta
impl Unpin for AggregateMeta
impl UnwindSafe for AggregateMeta
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
Mutably borrows from an owned value. Read more