Class: QueryBuilder::CQL::Modifiers::PrimaryKey::Clause Private
- Inherits:
-
Base
- Object
- QueryBuilder::Core::Base
- QueryBuilder::Core::Clause
- Base
- QueryBuilder::CQL::Modifiers::PrimaryKey::Clause
- Defined in:
- lib/query_builder/cql/modifiers/primary_key.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The clause for adding to a statement
Instance Method Summary collapse
-
#to_s ⇒ String
private
Returns the CQL representation of the clause.
Methods included from Operators
cql, cql_composite, cql_dec, cql_element, cql_entries, cql_frozen, cql_full, cql_gt, cql_gte, cql_in, cql_inc, cql_keys, cql_list, cql_literal, cql_lt, cql_lte, cql_map, cql_set, cql_token, cql_token_value, cql_ttl, cql_tuple, cql_tuple_value, cql_writetime
Methods inherited from QueryBuilder::Core::Clause
Methods inherited from QueryBuilder::Core::Base
Constructor Details
This class inherits a constructor from QueryBuilder::Core::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class QueryBuilder::CQL::Operators
Instance Method Details
#to_s ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the CQL representation of the clause
41 42 43 |
# File 'lib/query_builder/cql/modifiers/primary_key.rb', line 41 def to_s ["PRIMARY KEY", "(#{columns.join(", ")})"].join(" ") end |