module Quandl::Cassandra::Batch::Logging::ClassMethods
Public Instance Methods
execute(rows, &block)
click to toggle source
Calls superclass method
# File lib/quandl/cassandra/batch/logging.rb, line 8 def execute(rows, &block) # log init statement = block.call(rows[0].collect{'?'}) t1 = Time.now # call method r = super if defined?(super) # log write Quandl::Logger.debug("(#{t1.elapsed_ms}) ".blue + " [#{rows.count} rows] BATCH #{statement}") r end