class Axiom::Optimizer::Algebra::Projection::ProjectionOperand
Optimize when the operand is a Projection
Public Instance Methods
optimizable?()
click to toggle source
Test if the operand is a Projection
@return [Boolean]
@api private
# File lib/axiom/optimizer/algebra/projection.rb, line 29 def optimizable? operand.kind_of?(operation.class) end
optimize()
click to toggle source
Flatten nested Projections into a single Projection
@return [Projection]
@api private
# File lib/axiom/optimizer/algebra/projection.rb, line 38 def optimize wrap_operand end