class Axiom::Optimizer::Algebra::Restriction::JoinOperand

Optimize when the operand is a Join

Public Instance Methods

optimizable?() click to toggle source

Test if the operand is a Join and the restriction is commutative

@return [Boolean]

@api private

# File lib/axiom/optimizer/algebra/restriction.rb, line 241
def optimizable?
  operand.kind_of?(Axiom::Algebra::Join) && super
end

Private Instance Methods

relation_method() click to toggle source

Return the relation method name for a Join operation

@return [Symbol]

@api private

# File lib/axiom/optimizer/algebra/restriction.rb, line 252
def relation_method
  :join
end