Class: Veritas::Optimizer::Algebra::Rename
- Inherits:
-
Relation::Operation::Unary
- Object
- Veritas::Optimizer
- Relation::Operation::Unary
- Veritas::Optimizer::Algebra::Rename
- Defined in:
- lib/veritas/optimizer/algebra/rename.rb
Overview
Abstract base class representing Rename optimizations
Direct Known Subclasses
EmptyOperand, LimitOperand, OffsetOperand, OrderOperand, ProjectionOperand, RenameOperand, RestrictionOperand, ReverseOperand, SetOperand, UnoptimizedOperand
Defined Under Namespace
Classes: EmptyOperand, LimitOperand, OffsetOperand, OrderOperand, ProjectionOperand, RenameOperand, RenameOperandAndEmptyAliases, RestrictionOperand, ReverseOperand, SetOperand, UnoptimizedOperand
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary collapse
-
#aliases ⇒ Rename::Aliases
readonly
private
The optimized aliases.
Attributes inherited from Relation::Operation::Unary
Attributes included from Function::Unary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#initialize(operation) ⇒ undefined
constructor
private
Initialize an Rename optimizer.
Methods inherited from Veritas::Optimizer
chain, #optimizable?, #optimize
Constructor Details
#initialize(operation) ⇒ 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 an Rename optimizer
24 25 26 27 |
# File 'lib/veritas/optimizer/algebra/rename.rb', line 24 def initialize(operation) super @aliases = operation.aliases end |
Instance Attribute Details
#aliases ⇒ Rename::Aliases (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 aliases
15 16 17 |
# File 'lib/veritas/optimizer/algebra/rename.rb', line 15 def aliases @aliases end |