Class: Veritas::Optimizer::Algebra::Extension::UnoptimizedOperand
- Inherits:
-
Veritas::Optimizer::Algebra::Extension
- Object
- Veritas::Optimizer
- Relation::Operation::Unary
- Veritas::Optimizer::Algebra::Extension
- Veritas::Optimizer::Algebra::Extension::UnoptimizedOperand
- Includes:
- Function::Unary::UnoptimizedOperand
- Defined in:
- lib/veritas/optimizer/algebra/extension.rb
Overview
Optimize when operands are optimizable
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary
Attributes inherited from Veritas::Optimizer::Algebra::Extension
Attributes inherited from Relation::Operation::Unary
Attributes included from Function::Unary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#optimizable? ⇒ Boolean
private
Test if the operand is unoptimized.
-
#optimize ⇒ Algebra::Extension
private
Return an Extension with an optimized operand.
Methods inherited from Veritas::Optimizer::Algebra::Extension
Methods inherited from Relation::Operation::Unary
Methods included from Function::Unary
Methods inherited from Veritas::Optimizer
Constructor Details
This class inherits a constructor from Veritas::Optimizer::Algebra::Extension
Instance Method Details
#optimizable? ⇒ Boolean
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.
Test if the operand is unoptimized
65 66 67 |
# File 'lib/veritas/optimizer/algebra/extension.rb', line 65 def optimizable? super || extensions_optimizable? end |
#optimize ⇒ Algebra::Extension
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.
Return an Extension with an optimized operand
74 75 76 |
# File 'lib/veritas/optimizer/algebra/extension.rb', line 74 def optimize wrap_operand(operand) end |