Class: Cassie::Definition
- Includes:
- Connection, Statements::Core
- Defined in:
- lib/cassie/definition.rb
Overview
A concrete implementation of a functional base class used to make CQL DDL or generic queries without any DSL. Inherit from this class to create application query classes.
-
The Cassandra connection is provided and managed by Connection
-
Generic statement functionality is provided by Statements::Core
-
Defining the statement and options is up the subclass’s responsibility (e.g. no DSL is provided)
See the README for information on usage and examples.
Direct Known Subclasses
FakeDefinition, Schema::CreateKeyspaceQuery, Schema::CreateVersionsTableQuery, Schema::DropKeyspaceQuery
Instance Attribute Summary
Attributes included from Statements::Execution::ClassMethods
Attributes included from Statements::Statement
Method Summary
Methods included from Statements::Core
Methods included from Statements::Execution::ClassMethods
Methods included from Statements::Execution
#execute, #execute!, #execution_options
Methods included from Statements::Execution::Instrumentation
Methods included from Statements::Execution::PartitionLinking
#build_partition_linker, #execute, #partition_linker?
Methods included from Statements::Execution::Callbacks
Methods included from Statements::Execution::Consistency
Methods included from Statements::Statement
#logger, #statement, #table, #to_cql
Methods included from Statements::Statement::Preparation::ClassMethods
#prepare, #prepare=, #prepare?
Methods included from Statements::Statement::Idempotency::ClassMethods
#idempotent, #idempotent=, #idempotent?, #non_idempotent