class GroongaQueryLog::Command::Analyzer::Streamer

Public Class Methods

new(reporter) click to toggle source
# File lib/groonga-query-log/command/analyzer/streamer.rb, line 22
def initialize(reporter)
  @reporter = reporter
end

Public Instance Methods

<<(statistic) click to toggle source
# File lib/groonga-query-log/command/analyzer/streamer.rb, line 30
def <<(statistic)
  @reporter.report_statistic(statistic)
end
finish() click to toggle source
# File lib/groonga-query-log/command/analyzer/streamer.rb, line 34
def finish
  @reporter.finish
end
start() click to toggle source
# File lib/groonga-query-log/command/analyzer/streamer.rb, line 26
def start
  @reporter.start
end