Class: Cassie::Schema::DropKeyspaceQuery
- Inherits:
-
Definition
- Object
- Definition
- Cassie::Schema::DropKeyspaceQuery
- Defined in:
- lib/cassie/schema/queries/drop_keyspace_query.rb
Instance Attribute Summary collapse
-
#keyspace ⇒ Object
Returns the value of attribute keyspace.
Attributes included from Cassie::Statements::Execution::ClassMethods
Attributes included from Cassie::Statements::Statement
Instance Method Summary collapse
Methods included from Cassie::Statements::Core
Methods included from Cassie::Statements::Execution::ClassMethods
Methods included from Cassie::Statements::Execution
#execute, #execute!, #execution_options
Methods included from Cassie::Statements::Execution::Instrumentation
Methods included from Cassie::Statements::Execution::PartitionLinking
#build_partition_linker, #execute, #partition_linker?
Methods included from Cassie::Statements::Execution::Callbacks
Methods included from Cassie::Statements::Execution::Consistency
Methods included from Cassie::Statements::Statement
Methods included from Cassie::Statements::Statement::Preparation::ClassMethods
#prepare, #prepare=, #prepare?
Methods included from Cassie::Statements::Statement::Idempotency::ClassMethods
#idempotent, #idempotent=, #idempotent?, #non_idempotent
Methods included from Cassie::Statements::Statement::Idempotency
Methods included from Cassie::Statements::Statement::TypeHinting::ClassMethods
Methods included from Cassie::Statements::Statement::TypeHinting
Methods included from Cassie::Statements::Statement::Preparation
Methods included from Connection
Instance Attribute Details
#keyspace ⇒ Object
Returns the value of attribute keyspace.
6 7 8 |
# File 'lib/cassie/schema/queries/drop_keyspace_query.rb', line 6 def keyspace @keyspace end |
Instance Method Details
#statement ⇒ Object
8 9 10 11 12 |
# File 'lib/cassie/schema/queries/drop_keyspace_query.rb', line 8 def statement cql = %( DROP KEYSPACE IF EXISTS #{keyspace}; ) end |