@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    out.writeInt(size());
    ObjectTypeImpl ctImpl = (ObjectTypeImpl) getCollectionType().getElementType();
    Assert.assertTrue(ctImpl != null, "ctImpl can not be null");
    InternalDataSerializer.invokeToData(ctImpl, out);
    for (final Object o : this) {
      context.getSerializer().writeObject(o, out);
    }
  }
Empty constructor to satisfy <code>DataSerializer</code> requirements
geode-core/src/main/java/org/apache/geode/cache/query/internal/ResultsSet.java