pub struct AggregateMeta<'a>(/* private fields */);
Expand description
Metadata about a Cassandra aggregate
Implementations§
Source§impl<'a> AggregateMeta<'a>
impl<'a> AggregateMeta<'a>
Sourcepub fn fields_iter(&self) -> FieldIterator<'a>
pub fn fields_iter(&self) -> FieldIterator<'a>
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<'a>
pub fn argument_type(&self, index: usize) -> ConstDataType<'a>
Gets the aggregate’s argument type for the provided index.
Sourcepub fn return_type(&self) -> ConstDataType<'a>
pub fn return_type(&self) -> ConstDataType<'a>
Gets the aggregate’s argument return type.
Sourcepub fn state_type(&self) -> ConstDataType<'a>
pub fn state_type(&self) -> ConstDataType<'a>
Gets the aggregate’s argument state type.
Sourcepub fn state_func(&self) -> FunctionMeta<'a>
pub fn state_func(&self) -> FunctionMeta<'a>
Gets the function metadata for the aggregate’s state function.
Sourcepub fn final_func(&self) -> FunctionMeta<'a>
pub fn final_func(&self) -> FunctionMeta<'a>
Gets the function metadata for the aggregates’s final function.
Sourcepub fn field_by_name(&self, name: &str) -> Option<Value<'a>>
pub fn field_by_name(&self, name: &str) -> Option<Value<'a>>
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<'a> Freeze for AggregateMeta<'a>
impl<'a> RefUnwindSafe for AggregateMeta<'a>
impl<'a> !Send for AggregateMeta<'a>
impl<'a> !Sync for AggregateMeta<'a>
impl<'a> Unpin for AggregateMeta<'a>
impl<'a> UnwindSafe for AggregateMeta<'a>
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