Method: Cequel::Metal::Keyspace#client
- Defined in:
- lib/cequel/metal/keyspace.rb
#client ⇒ Cassandra::Session
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 low-level client session provided by the adapter.
174 175 176 177 178 |
# File 'lib/cequel/metal/keyspace.rb', line 174 def client synchronize do @client ||= cluster.connect(name) end end |