class Axiom::Optimizer::Algebra::Rename::SortedOperand
Optimize when the operand is an Sorted
Public Instance Methods
optimize()
click to toggle source
Wrap the Rename
in an Sorted
@return [Sorted]
@api private
# File lib/axiom/optimizer/algebra/rename.rb, line 261 def optimize wrap_operand.sort_by(directions) end
Private Instance Methods
directions()
click to toggle source
Return the renamed directions
@return [Relation::Operation::Sorted::DirectionSet]
@api private
# File lib/axiom/optimizer/algebra/rename.rb, line 272 def directions operand.directions.rename(aliases) end