lib/veritas/optimizer/relation/operation/order.rb in veritas-optimizer-0.0.3 vs lib/veritas/optimizer/relation/operation/order.rb in veritas-optimizer-0.0.4
- old
+ new
@@ -57,18 +57,10 @@
end # class OneLimitOperand
# Optimize when operand is optimizable
class UnoptimizedOperand < self
-
- # Test if the operand is unoptimized
- #
- # @return [Boolean]
- #
- # @api private
- def optimizable?
- !operand.equal?(operation.operand)
- end
+ include Function::Unary::UnoptimizedOperand
# Return an Order with an optimized operand
#
# @return [Offset]
#