@Id
public String id;
public long offset = -1l;
- public Map<String, Map<String, Long>> statistics;
+ public Map<String, Long> statistics;
public StatisticsDocument()
{
this.statistics = new HashMap<>();
}
- public StatisticsDocument(Integer partition, Map<String, Map<String, Long>> statistics, long offset)
+ public StatisticsDocument(Integer partition, Map<String, Long> statistics, long offset)
{
this.id = Integer.toString(partition);
this.statistics = statistics;