class QueryBuilder::CQL::Contexts::Role
Describes the Cassandra users role
Public Instance Methods
alter(password)
click to toggle source
Builds the ‘ALTER ROLE’ CQL
statement with password
@param [#to_s] password
@return [QueryBuilder::Statements::AlterRole]
# File lib/query_builder/cql/contexts/role.rb, line 35 def alter(password) Statements::AlterRole.new(context: self).password(password) end
create()
click to toggle source
Builds the ‘CREATE ROLE’ CQL
statement
@return [QueryBuilder::Statements::CreateRole]
# File lib/query_builder/cql/contexts/role.rb, line 25 def create Statements::CreateRole.new(context: self) end
drop()
click to toggle source
Builds the ‘DROP ROLE’ CQL
statement
@return [QueryBuilder::Statements::DropRole]
# File lib/query_builder/cql/contexts/role.rb, line 43 def drop Statements::DropRole.new(context: self) end
to_s()
click to toggle source
Returns the full name of the type
@return [String]
# File lib/query_builder/cql/contexts/role.rb, line 17 def to_s name.to_s end