Struct cassandra_cpp::AggregateMeta
[−]
[src]
pub struct AggregateMeta(_);
Metadata about a cassandra aggregate
Methods
impl AggregateMeta
[src]
fn fields_iter(&self) -> FieldIterator
An iterator over the fields of an aggregate
fn get_name(&self) -> String
Gets the name of the aggregate.
fn full_name(&self) -> String
Gets the full name of the aggregate.
fn argument_count(&self) -> usize
Gets the number of arguments this aggregate takes.
fn argument_type(&self, index: usize) -> ConstDataType
Gets the aggregate's argument type for the provided index.
fn return_type(&self) -> ConstDataType
Gets the aggregate's argument return type.
fn state_type(&self) -> ConstDataType
Gets the aggregate's argument state type.
fn state_func(&self) -> FunctionMeta
Gets the function metadata for the aggregate's state function.
fn final_func(&self) -> FunctionMeta
Gets the function metadata for the aggregates's final function.
fn init_cond(&self) -> Value
Gets the initial condition value for the aggregate.
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.