Class: Fluent::FilterWhere::Parser::BooleanOpExp
- Inherits:
-
BinaryOpExp
- Object
- Exp
- BinaryOpExp
- Fluent::FilterWhere::Parser::BooleanOpExp
- Defined in:
- lib/fluent/plugin/filter_where/parser/exp.rb
Instance Attribute Summary
Attributes inherited from BinaryOpExp
Instance Method Summary collapse
Methods inherited from BinaryOpExp
Constructor Details
This class inherits a constructor from Fluent::FilterWhere::Parser::BinaryOpExp
Instance Method Details
#eval(record) ⇒ Boolean
28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/fluent/plugin/filter_where/parser/exp.rb', line 28 def eval(record) l = left.get(record) r = right.get(record) case operator when :EQ l == r when :NEQ l != r else assert(false) false end end |