Class: GroongaQueryLog::IncompatibilityDetector::Version2
- Inherits:
-
GroongaQueryLog::IncompatibilityDetector
- Object
- GroongaQueryLog::IncompatibilityDetector
- GroongaQueryLog::IncompatibilityDetector::Version2
- Defined in:
- lib/groonga-query-log/incompatibility-detector.rb
Instance Attribute Summary
Attributes inherited from GroongaQueryLog::IncompatibilityDetector
Instance Method Summary collapse
- #detect(statistic) ⇒ Object
-
#initialize ⇒ Version2
constructor
A new instance of Version2.
Constructor Details
#initialize ⇒ Version2
Returns a new instance of Version2.
50 51 52 |
# File 'lib/groonga-query-log/incompatibility-detector.rb', line 50 def initialize super(2) end |
Instance Method Details
#detect(statistic) ⇒ Object
54 55 56 57 58 59 60 61 |
# File 'lib/groonga-query-log/incompatibility-detector.rb', line 54 def detect(statistic) case statistic.command.name when "select" detect_select(statistic) else [] end end |