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