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
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary (collapse)
-
- (Rename::Aliases) 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)
-
- (undefined) initialize(operation)
constructor
private
Initialize an Rename optimizer.
Methods inherited from Veritas::Optimizer
chain, link_optimizers, #optimizable?, #optimize
Constructor Details
- (undefined) initialize(operation)
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
- (Rename::Aliases) 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 |