private List<PersistedRuntimeStats> decode(RuntimeStat rs) throws IOException {
    List<PersistedRuntimeStats> rsm = RuntimeStatsPersister.INSTANCE.decode(rs.getPayload(), List.class);
    return rsm;
  }
Decorates a StatSource to be loaded and persisted in the metastore as well.
ql/src/java/org/apache/hadoop/hive/ql/plan/mapper/MetastoreStatsConnector.java