private Query storedProcQuery() {
    Query query = pm.newQuery(MStoredProc.class,
            "name == procName && database.name == db && database.catalogName == catName");
    query.declareParameters("java.lang.String procName, java.lang.String db, java.lang.String catName");
    query.setUnique(true);
    return query;
  }
Get partition's column stats

@return Map of column name and its stats
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java