public void writeExternal(ObjectOutput out) throws IOException {
   super.writeExternal(out);
   out.writeObject(queryElement);
   out.writeObject(tupleSource);
   out.writeBoolean(tupleMemoryEnabled);
   out.writeBoolean(openQuery);
 }
Beispiel #2
0
  public void writeExternal(ObjectOutput out) throws IOException {
    BetaNodeFieldConstraint[] betaCconstraints = this.constraints.getConstraints();
    if (betaCconstraints.length > 0) {
      BetaNodeFieldConstraint c = betaCconstraints[0];
      if (IndexUtil.isIndexable(c, getType()) && ((IndexableConstraint) c).isUnification()) {
        this.constraints = this.constraints.getOriginalConstraint();
      }
    }

    out.writeObject(constraints);
    out.writeObject(leftInput);
    out.writeObject(rightInput);
    out.writeBoolean(objectMemory);
    out.writeBoolean(tupleMemoryEnabled);
    out.writeBoolean(concurrentRightTupleMemory);
    out.writeBoolean(lrUnlinkingEnabled);
    out.writeLong(rightDeclaredMask);
    out.writeLong(rightInferredMask);
    out.writeLong(rightNegativeMask);
    out.writeObject(leftListenedProperties);
    out.writeObject(rightListenedProperties);
    super.writeExternal(out);
  }
 public void writeExternal(ObjectOutput out) throws IOException {
   super.writeExternal(out);
   out.writeObject(objectSource);
   out.writeBoolean(leftTupleMemoryEnabled);
   out.writeBoolean(rootQueryNode);
 }