Class: Veritas::Optimizer::Algebra::Extension
- Inherits:
-
Relation::Operation::Unary
- Object
- Veritas::Optimizer
- Relation::Operation::Unary
- Veritas::Optimizer::Algebra::Extension
- Defined in:
- lib/veritas/optimizer/algebra/extension.rb
Overview
Abstract base class representing Extension optimizations
Direct Known Subclasses
Defined Under Namespace
Classes: OrderOperand, UnoptimizedOperand
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary collapse
-
#extensions ⇒ Hash{Attribute => Function}
readonly
private
The optimized extensions.
Attributes inherited from Relation::Operation::Unary
Attributes included from Function::Unary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#initialize ⇒ undefined
constructor
private
Initialize a Summarization optimizer.
Methods inherited from Veritas::Optimizer
chain, #optimizable?, #optimize
Constructor Details
#initialize ⇒ undefined
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.
Initialize a Summarization optimizer
22 23 24 25 |
# File 'lib/veritas/optimizer/algebra/extension.rb', line 22 def initialize(*) super @extensions = optimize_extensions end |
Instance Attribute Details
#extensions ⇒ Hash{Attribute => Function} (readonly)
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.
The optimized extensions
15 16 17 |
# File 'lib/veritas/optimizer/algebra/extension.rb', line 15 def extensions @extensions end |