Beispiel #1
0
 /**
  * Set indexes.
  *
  * @param columnLabelIndexMap map for column label and index
  */
 public void SetIndexes(IDictionary <string, int> columnLabelIndexMap)
 {
     SetIndexForAggregationProjection(columnLabelIndexMap);
     SetIndexForOrderItem(columnLabelIndexMap, _orderByContext.GetItems());
     SetIndexForOrderItem(columnLabelIndexMap, _groupByContext.GetItems());
 }
 private ICollection <IProjection> GetDerivedOrderByColumns(ICollection <IProjection> projections, OrderByContext orderByContext, SelectCommand selectCommand)
 {
     return(GetDerivedOrderColumns(projections, orderByContext.GetItems(), DerivedColumn.Get(DerivedColumnEnum.ORDER_BY_ALIAS), selectCommand));
 }