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