int getMaxLength() {
    int rowGroupMaxTotalLength = 0;
    for (RowGroup rowGroup : rowGroups) {
      List<Row> rows = rowGroup.getRows();

      int rowMaxTotalLength = 0;
      for (Row row : rows) {
        int rowTotalLength = 0;
        for (int i = 0; i < row.getNumCols(); i++) {
          rowTotalLength += row.getMaxColLength(i);
        }

        if (rowGroup.getColumnSeparator() != null) {
          rowTotalLength += row.getNumCols() * rowGroup.getColumnSeparator().length();
        }
        if (rowMaxTotalLength < rowTotalLength) {
          rowMaxTotalLength = rowTotalLength;
        }
      }

      int rowGroupTotalLength = 0;
      rowGroupTotalLength += rowMaxTotalLength;
      if (rowGroupMaxTotalLength < rowGroupTotalLength) {
        rowGroupMaxTotalLength = rowGroupTotalLength;
      }
    }
    return (int) (rowGroupMaxTotalLength * 1.1);
  }
Computes total Max Row Length across table - for all row groups.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/result/Table.java