Beispiel #1
0
 @Override
 public void apply() {
   try {
     data.insert(data.meta.size, -1, new DataClip(newDocs.data));
   } finally {
     newDocs.finish();
   }
 }
Beispiel #2
0
  @Override
  public void merge(final Update update) throws QueryException {
    final DBAdd add = (DBAdd) update;
    if (replace || add.replace)
      throw UPMULTDOC_X_X.get(info, data.meta.name, newDocs.inputs.get(0).path);

    newDocs.merge(add.newDocs);
  }
Beispiel #3
0
 @Override
 public void prepare() throws QueryException {
   size = newDocs.inputs.size();
   newDocs.prepare(data.meta.name);
 }