class Axiom::Optimizer::Function::Connective::Disjunction::OptimizableToInclusion
Optimize when the operands are equality predicates for the same attribute
Public Instance Methods
optimizable?()
click to toggle source
Test if the operands are equality predicates for the same attribute
@return [Boolean]
@api private
# File lib/axiom/optimizer/function/connective/disjunction.rb, line 65 def optimizable? equality_with_same_attributes? end
optimize()
click to toggle source
Return an Inclusion for an attribute having a set of values
@return [Inclusion]
@api private
# File lib/axiom/optimizer/function/connective/disjunction.rb, line 74 def optimize left.left.include(merged_right_enumerables).optimize end