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