Package lupos.datastructures.queryresult

Examples of lupos.datastructures.queryresult.QueryResult.materialize()


    QueryResult queryresult = this.process(dataset);
    if (queryresult == null){
      return;
    }
    if(this.succeedingOperators.size()>1){
      queryresult.materialize();
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      ((Operator) opId.getOperator()).processAll(queryresult, opId.getId());
    }   
  }
View Full Code Here


    final QueryResult queryresult = this.process(dataset);
    if (queryresult == null){
      return;
    }
    if (this.succeedingOperators.size() > 1) {
      queryresult.materialize();
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      final QueryResultDebug qrDebug = new QueryResultDebug(queryresult, debugstep, this, opId.getOperator(), true);
      ((Operator) opId.getOperator()).processAllDebug(qrDebug, opId.getId(), debugstep);
    }
View Full Code Here

    final QueryResult opp = this.process(queryResult, operandID);
    if (opp == null) {
      return;
    }
    if (this.succeedingOperators.size() > 1) {
      opp.materialize();
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      ((Operator) opId.getOperator()).processAll(opp, opId.getId());
    }
  }
View Full Code Here

    if (!this.isPipelineBreaker()) {
      if (opp == null) {
        return;
      }
      if (this.succeedingOperators.size() > 1) {
        opp.materialize();
      }
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      if (this.isPipelineBreaker()) {
        ((Operator) opId.getOperator()).deleteAll(opId.getId());
View Full Code Here

    if (!this.isPipelineBreaker()) {
      if (opp == null) {
        return;
      }
      if (this.succeedingOperators.size() > 1) {
        opp.materialize();
      }
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      if (this.isPipelineBreaker()) {
        debugstep.stepDeleteAll(this, opId.getOperator());
View Full Code Here

    final QueryResult opp = this.process(queryResult, operandID);
    if (opp == null){
      return;
    }
    if (this.succeedingOperators.size() > 1) {
      opp.materialize();
    }
    for (final OperatorIDTuple opId : this.succeedingOperators) {
      final QueryResultDebug qrDebug = new QueryResultDebug(opp, debugstep, this, opId.getOperator(), true);
      ((Operator) opId.getOperator()).processAllDebug(qrDebug, opId.getId(), debugstep);
    }
View Full Code Here

  @Override
  public Message preProcessMessage(final EndOfEvaluationMessage msg) {
    final QueryResult qr = QueryResult.createInstance(this.bindings.iterator());
    if (this.succeedingOperators.size() > 1)
      qr.materialize();
    for (final OperatorIDTuple opId: this.succeedingOperators) {
      opId.processAll(qr);
    }
    this.bindings.clear();
    return msg;
View Full Code Here

  @Override
  public Message preProcessMessageDebug(final EndOfEvaluationMessage msg,
      final DebugStep debugstep) {
    final QueryResult qr = QueryResult.createInstance(this.bindings.iterator());
    if (this.succeedingOperators.size() > 1)
      qr.materialize();
    for (final OperatorIDTuple opId: this.succeedingOperators) {
      final QueryResultDebug qrDebug = new QueryResultDebug(qr,
          debugstep, this, opId.getOperator(), true);
      ((Operator) opId.getOperator()).processAllDebug(qrDebug, opId
          .getId(), debugstep);
View Full Code Here

        UnionParallelOperands.this.queue.endOfData();
      }
    };
    endOfDataThread.start();
    if (this.succeedingOperators.size() > 1) {
      qr.materialize();
    }
    for (final OperatorIDTuple oid: this.succeedingOperators) {
      oid.processAll(qr);
    }
    return super.preProcessMessage(msg);
View Full Code Here

  }

  protected void computeResult(){
    final QueryResult qr = QueryResult.createInstance(this.getIterator());
    if (this.succeedingOperators.size() > 1) {
      qr.materialize();
    }
    // final QueryResult qr = QueryResult.createInstance();
    // for (final Bindings b : bindings)
    // qr.add(b);
    for (final OperatorIDTuple opId : this.succeedingOperators) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.