Class: Axiom::Optimizer::Relation::Operation::Offset::UnoptimizedOperand
- Inherits:
-
Axiom::Optimizer::Relation::Operation::Offset
- Object
- Axiom::Optimizer
- Unary
- Axiom::Optimizer::Relation::Operation::Offset
- Axiom::Optimizer::Relation::Operation::Offset::UnoptimizedOperand
- Includes:
- Function::Unary::UnoptimizedOperand
- Defined in:
- lib/axiom/optimizer/relation/operation/offset.rb
Overview
Optimize when operand is optimizable
Constant Summary
Constants inherited from Axiom::Optimizer
Instance Attribute Summary
Attributes inherited from Unary
Attributes included from Function::Unary
Attributes inherited from Axiom::Optimizer
Instance Method Summary collapse
-
#optimize ⇒ Offset
private
Return an Offset with an optimized operand.
Methods included from Function::Unary::UnoptimizedOperand
Methods inherited from Unary
Methods included from Function::Unary
Methods inherited from Axiom::Optimizer
chain, #initialize, #optimizable?
Constructor Details
This class inherits a constructor from Axiom::Optimizer::Relation::Operation::Unary
Instance Method Details
#optimize ⇒ Offset
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.
Return an Offset with an optimized operand
88 89 90 |
# File 'lib/axiom/optimizer/relation/operation/offset.rb', line 88 def optimize operand.drop(offset) end |