class Voltdb::BulkLoaderFailureCallback

Public Class Methods

new(&block) click to toggle source
# File lib/voltdb/callbacks.rb, line 21
def initialize(&block)
  @block = block
end

Public Instance Methods

failure_callback(row_handle, field_list, client_response) click to toggle source
# File lib/voltdb/callbacks.rb, line 25
def failure_callback(row_handle, field_list, client_response)
  client_response.extend(ClientResponseUtils)
  @block.call(row_handle, field_list.to_ary, client_response)
end