View Source Tablex.Optimizer.Helper (tablex v0.2.0-alpha.1)
Link to this section Summary
Functions
Fix ids of rules.
Order an already sorted, list of rules by hit policy.
Order a list of table rules by priority, high to low.
Link to this section Types
@type order() :: :h2l | :l2h
@type rule() :: Tablex.Table.rule()
Link to this section Functions
Fix ids of rules.
@spec order_by_hit_policy( [rule()], current_order :: order(), Tablex.HitPolicy.hit_policy() ) :: [rule()]
Order an already sorted, list of rules by hit policy.
Order a list of table rules by priority, high to low.