class QueryBuilder::CQL::Contexts::Aggregate
Describes the Cassandra user-defined aggregate
Public Instance Methods
create()
click to toggle source
Builds the ‘CREATE AGGREGATE’ CQL
statement
@return [QueryBuilder::Statements::CreateAggregate]
# File lib/query_builder/cql/contexts/aggregate.rb, line 26 def create Statements::CreateAggregate.new(context: self) end
drop()
click to toggle source
Builds the ‘DROP AGGREGATE’ CQL
statement
@return [QueryBuilder::Statements::DropAggregate]
# File lib/query_builder/cql/contexts/aggregate.rb, line 34 def drop Statements::DropAggregate.new(context: self) end
to_s()
click to toggle source
Returns the full name of the aggregate
@return [String]
# File lib/query_builder/cql/contexts/aggregate.rb, line 18 def to_s [keyspace, name].join(".") end