@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    DataSerializer.writeString(id, out);
    out.writeInt(limit);
  }
An implementation of {@link CollectorManager} for managing {@link TopEntriesCollector}. This is
used by a member to collect top matching entries from local buckets
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/distributed/TopEntriesCollectorManager.java