Struct cassandra_cpp::AggregateMeta
source · pub struct AggregateMeta(_);
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.