class Axiom::Optimizer::Relation::Operation::Unary::UnchangedHeader
Optimize when the header is not changed
Public Instance Methods
optimizable?()
click to toggle source
Test if the operation header are the same as the operand’s
@return [Boolean]
@api private
# File lib/axiom/optimizer/relation/operation/unary.rb, line 60 def optimizable? header == operand.header end
optimize()
click to toggle source
A Projection, Rename or Extension with an unchanged header is a noop
@return [Relation]
@api private
# File lib/axiom/optimizer/relation/operation/unary.rb, line 69 def optimize operand end