class Voltdb::AllPartitionProcCallback
Public Class Methods
new(&block)
click to toggle source
# File lib/voltdb/callbacks.rb, line 35 def initialize(&block) @block = block end
Public Instance Methods
client_callback(client_response_with_partition_key)
click to toggle source
# File lib/voltdb/callbacks.rb, line 39 def client_callback(client_response_with_partition_key) response = client_response_with_partition_key.map do |partition| partition.response.extend(ClientResponseUtils) partition end @block.call(response) end