Class: Veritas::Optimizer::Algebra::Intersection::EqualOperands
- Inherits:
-
Veritas::Optimizer::Algebra::Intersection
- Object
- Veritas::Optimizer
- Relation::Operation::Binary
- Veritas::Optimizer::Algebra::Intersection
- Veritas::Optimizer::Algebra::Intersection::EqualOperands
- Defined in:
- lib/veritas/optimizer/algebra/intersection.rb
Overview
Optimize when operands are equal
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary
Attributes included from Function::Binary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#optimize ⇒ Relation
private
An Intersection with equal operands is equivalent to either operand.
Methods included from Relation::Operation::Binary::EqualOperands
Methods included from Function::Binary
Methods inherited from Veritas::Optimizer
chain, #initialize, #optimizable?
Instance Method Details
#optimize ⇒ Relation
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
An Intersection with equal operands is equivalent to either operand
19 20 21 |
# File 'lib/veritas/optimizer/algebra/intersection.rb', line 19 def optimize left end |