class Axiom::Optimizer::Algebra::Restriction::ProductOperand

Optimize when the operand is a Product

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 266
def optimizable?
  operand.kind_of?(Axiom::Algebra::Product) && super
end

Private Instance Methods

relation_method() click to toggle source

Return the relation method name for a Product operation

@return [Symbol]

@api private

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