Class: Veritas::Optimizer::Relation::Operation::Unary
- Inherits:
-
Veritas::Optimizer
- Object
- Veritas::Optimizer
- Veritas::Optimizer::Relation::Operation::Unary
- Includes:
- Function::Unary
- Defined in:
- lib/veritas/optimizer/relation/operation/unary.rb
Overview
Abstract base class representing Unary relation optimizations
Direct Known Subclasses
Algebra::Extension, Algebra::Projection, Algebra::Rename, Algebra::Restriction, Algebra::Summarization, Limit, Offset, Order, EmptyOperand, MaterializedOperand, UnchangedHeader
Defined Under Namespace
Modules: OrderOperand Classes: EmptyOperand, MaterializedOperand, UnchangedHeader
Constant Summary
Constants inherited from Veritas::Optimizer
Instance Attribute Summary collapse
-
#header ⇒ Header
readonly
private
The operation header.
Attributes included from Function::Unary
Attributes inherited from Veritas::Optimizer
Instance Method Summary collapse
-
#initialize ⇒ undefined
constructor
private
Initialize a Unary 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 Unary optimizer
24 25 26 27 |
# File 'lib/veritas/optimizer/relation/operation/unary.rb', line 24 def initialize(*) super @header = operation.header end |
Instance Attribute Details
#header ⇒ Header (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 operation header
17 18 19 |
# File 'lib/veritas/optimizer/relation/operation/unary.rb', line 17 def header @header end |