module Axiom::Optimizer::Relation::Operation::Binary::EmptyRight

Optimize when the right operand is Empty

Public Instance Methods

optimizable?() click to toggle source

Test if the right operand is empty

@return [Boolean]

@api private

# File lib/axiom/optimizer/relation/operation/binary.rb, line 50
def optimizable?
  right.kind_of?(Axiom::Relation::Empty)
end