Class: Veritas::Optimizer::Algebra::Summarization
- Inherits:
-
Relation::Operation::Unary
- Object
- Veritas::Optimizer
- Relation::Operation::Unary
- Veritas::Optimizer::Algebra::Summarization
- Defined in:
- lib/veritas/optimizer/algebra/summarization.rb
Overview
Abstract base class representing Summarization optimizations
Direct Known Subclasses
EmptyOperand, EmptySummarizePer, OrderOperand, UnoptimizedOperand
Defined Under Namespace
Classes: EmptyOperand, EmptySummarizePer, OrderOperand, UnoptimizedOperand
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary collapse
-
#summarize_per ⇒ Relation
readonly
private
The optimized summarize_per relation.
-
#summarizers ⇒ Hash{Attribute => Function}
readonly
private
The optimized summarizers.
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
29 30 31 32 33 |
# File 'lib/veritas/optimizer/algebra/summarization.rb', line 29 def initialize(*) super @summarize_per = optimize_summarize_per @summarizers = optimize_summarizers end |
Instance Attribute Details
#summarize_per ⇒ Relation (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 summarize_per relation
15 16 17 |
# File 'lib/veritas/optimizer/algebra/summarization.rb', line 15 def summarize_per @summarize_per end |
#summarizers ⇒ 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 summarizers
22 23 24 |
# File 'lib/veritas/optimizer/algebra/summarization.rb', line 22 def summarizers @summarizers end |