class Cql::Client::AsynchronousPreparedStatementBatch

@private

Public Class Methods

new(prepared_statement, batch) click to toggle source
# File lib/cql/client/batch.rb, line 165
def initialize(prepared_statement, batch)
  @prepared_statement = prepared_statement
  @batch = batch
end

Public Instance Methods

add(*args) click to toggle source
# File lib/cql/client/batch.rb, line 170
def add(*args)
  @batch.add(@prepared_statement, *args)
end
execute(options=nil) click to toggle source
# File lib/cql/client/batch.rb, line 174
def execute(options=nil)
  @batch.execute(options)
end