Class: Spark::Command::Stats

Inherits:
Object
  • Object
show all
Defined in:
lib/spark/command/statistic.rb

Overview


Stats

Instance Method Summary collapse

Instance Method Details

#lazy_run(iterator) ⇒ Object



43
44
45
# File 'lib/spark/command/statistic.rb', line 43

def lazy_run(iterator, *)
  run(iterator)
end

#run(iterator) ⇒ Object



39
40
41
# File 'lib/spark/command/statistic.rb', line 39

def run(iterator, *)
  [Spark::StatCounter.new(iterator)]
end