public void populateGroupBys(Map<String, RowAlias> hashRowAlias) throws CruxException{
List<GroupBy> groupByList = new ArrayList<GroupBy>();
for(GroupBysView groupBysView : groupBysViewList){
if (hashRowAlias.containsKey(groupBysView.getAlias())) {
RowAlias rowAlias = hashRowAlias.get(groupBysView.getAlias());
GroupBy groupBy = new GroupBy();
groupBy.setRowAlias(rowAlias);
groupBy.setPosition(groupBysView.getIndex());
groupByList.add(groupBy);
logger.debug("groupBy:" + groupBy);
}
}