docs: public static AbstractExpression createIndexExpressionForTable(Table table, Map<Integer, Integer> ranges)
      {
          HashRangeExpression predicate = new HashRangeExpression();
          predicate.setRanges(ranges);
          predicate.setHashColumnIndex(table.getPartitioncolumn().getIndex());
  
          return predicate;
      }