@Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeObject(predicate);
   out.writeByte(iterationType.getId());
 }