class Cql::Client::SynchronousBatch
@private
Public Class Methods
new(asynchronous_batch)
click to toggle source
# File lib/cql/client/batch.rb, line 146 def initialize(asynchronous_batch) @asynchronous_batch = asynchronous_batch end
Public Instance Methods
add(*args)
click to toggle source
# File lib/cql/client/batch.rb, line 154 def add(*args) @asynchronous_batch.add(*args) end
async()
click to toggle source
# File lib/cql/client/batch.rb, line 150 def async @asynchronous_batch end
execute(options=nil)
click to toggle source
# File lib/cql/client/batch.rb, line 158 def execute(options=nil) synchronous_backtrace { @asynchronous_batch.execute(options).value } end