Class: Veritas::Optimizer::Algebra::Difference::EmptyRight
- Inherits:
-
Veritas::Optimizer::Algebra::Difference
- Object
- Veritas::Optimizer
- Relation::Operation::Binary
- Veritas::Optimizer::Algebra::Difference
- Veritas::Optimizer::Algebra::Difference::EmptyRight
- Includes:
- Relation::Operation::Binary::EmptyRight
- Defined in:
- lib/veritas/optimizer/algebra/difference.rb
Overview
Optimize when the right operand is empty
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
A Difference with an empty right operand is equivalent to the left.
Methods included from Relation::Operation::Binary::EmptyRight
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.
A Difference with an empty right operand is equivalent to the left
50 51 52 |
# File 'lib/veritas/optimizer/algebra/difference.rb', line 50 def optimize left end |