Class: GroongaQueryLog::Command::Analyzer::Streamer
- Inherits:
- 
      Object
      
        - Object
- GroongaQueryLog::Command::Analyzer::Streamer
 
- Defined in:
- lib/groonga-query-log/command/analyzer/streamer.rb
Instance Method Summary collapse
- #<<(statistic) ⇒ Object
- #finish ⇒ Object
- 
  
    
      #initialize(reporter)  ⇒ Streamer 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Streamer. 
- #start ⇒ Object
Constructor Details
#initialize(reporter) ⇒ Streamer
Returns a new instance of Streamer.
| 22 23 24 | # File 'lib/groonga-query-log/command/analyzer/streamer.rb', line 22 def initialize(reporter) @reporter = reporter end | 
Instance Method Details
#<<(statistic) ⇒ Object
| 30 31 32 | # File 'lib/groonga-query-log/command/analyzer/streamer.rb', line 30 def <<(statistic) @reporter.report_statistic(statistic) end | 
#finish ⇒ Object
| 34 35 36 | # File 'lib/groonga-query-log/command/analyzer/streamer.rb', line 34 def finish @reporter.finish end | 
#start ⇒ Object
| 26 27 28 | # File 'lib/groonga-query-log/command/analyzer/streamer.rb', line 26 def start @reporter.start end |