code: public IndexInfo getColumnToBeIndexed(String columnName)
      {
          IndexInfo idxInfo = new IndexInfo(columnName);
          if (columnToBeIndexed.contains(idxInfo))
          {
              int index = columnToBeIndexed.indexOf(idxInfo);
              return getColumnsToBeIndexed().get(index);
          }
          return idxInfo;
      }
docs: Gets the column to be indexed.
  
  @param columnName
  the column name
  @return the column to be indexed