* @param colName
* @return
*/
private static int indexOfColName(List<? extends BucketSortCol> bucketSortCols, String colName) {
for (int index = 0; index < bucketSortCols.size(); index++) {
BucketSortCol bucketSortCol = bucketSortCols.get(index);
if (bucketSortCol.getNames().indexOf(colName) != -1) {
return index;
}
}
return -1;