class Axiom::Optimizer::Algebra::Restriction::UnoptimizedOperand
Optimize when operand is optimizable
Public Instance Methods
optimizable?()
click to toggle source
Test if the operand is unoptimized
@return [Boolean]
@api private
Calls superclass method
Axiom::Optimizer::Function::Unary::UnoptimizedOperand#optimizable?
# File lib/axiom/optimizer/algebra/restriction.rb, line 341 def optimizable? super || !predicate.equal?(operation.predicate) end
optimize()
click to toggle source
Return a Restriction
with an optimized operand
@return [Rename]
@api private
# File lib/axiom/optimizer/algebra/restriction.rb, line 350 def optimize wrap_operand(operand) end