@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeInteger(cqState.getState(), out);
    DataSerializer.writeBoolean(isDurable, out);
    DataSerializer.writeString(queryString, out);
    out.writeLong(filterID);
  }
Stop or pause executing the query.
geode-cq/src/main/java/org/apache/geode/cache/query/cq/internal/ServerCQImpl.java