class PartitionsAndStatistics {

  public ColumnStatistics getStatisticsForPartition(Partition partition) {
    if (partition == null) {
      throw new IllegalArgumentException("partition == null");
    }
    return statisticsByPartition.get(partition);
  }

  public  PartitionsAndStatistics(
      List<FieldSchema> partitionKeys,
      List<Partition> partitions,
      Map<String, List<ColumnStatisticsObj>> statisticsByPartitionName);
  public  PartitionsAndStatistics(
      List<FieldSchema> partitionKeys,
      Map<Partition, ColumnStatistics> statisticsByPartition);

}