Module: CassandraModel::SingleTokenBatch
- Extended by:
- Forwardable
- Includes:
- Enumerable
- Defined in:
- lib/cassandra_model/single_token_batch.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
writeonly
Sets the attribute result.
Instance Method Summary collapse
Instance Attribute Details
#result=(value) ⇒ Object
Sets the attribute result
6 7 8 |
# File 'lib/cassandra_model/single_token_batch.rb', line 6 def result=(value) @result = value end |
Instance Method Details
#keyspace ⇒ Object
10 11 12 |
# File 'lib/cassandra_model/single_token_batch.rb', line 10 def keyspace nil end |
#partition_key ⇒ Object
14 15 16 |
# File 'lib/cassandra_model/single_token_batch.rb', line 14 def partition_key @statements.first.partition_key end |