@Deprecated
  public static long getBasicStatForTable(Table table, String statType) {
    Map<String, String> params = table.getParameters();
    long result = -1;

    if (params != null) {
      try {
        result = Long.parseLong(params.get(statType));
      } catch (NumberFormatException e) {
        result = -1;
      }
    }
    return result;
  }
Get basic stats of table
@param table
         - table
@param statType
         - type of stats
@return value of stats
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java