Class: Cql::Client::SynchronousPreparedStatement
- Inherits:
-
PreparedStatement
- Object
- PreparedStatement
- Cql::Client::SynchronousPreparedStatement
- Defined in:
- lib/cql/client/synchronous_prepared_statement.rb
Instance Attribute Summary
Attributes inherited from PreparedStatement
Instance Method Summary collapse
- #async ⇒ Object
- #execute(*args) ⇒ Object
-
#initialize(async_statement) ⇒ SynchronousPreparedStatement
constructor
A new instance of SynchronousPreparedStatement.
- #pipeline {|pl| ... } ⇒ Object
Constructor Details
#initialize(async_statement) ⇒ SynchronousPreparedStatement
Returns a new instance of SynchronousPreparedStatement.
7 8 9 10 |
# File 'lib/cql/client/synchronous_prepared_statement.rb', line 7 def initialize(async_statement) @async_statement = async_statement @metadata = async_statement. end |
Instance Method Details
#async ⇒ Object
22 23 24 |
# File 'lib/cql/client/synchronous_prepared_statement.rb', line 22 def async @async_statement end |
#execute(*args) ⇒ Object
12 13 14 |
# File 'lib/cql/client/synchronous_prepared_statement.rb', line 12 def execute(*args) @async_statement.execute(*args).get end |