Package org.openrdf.query.impl

Examples of org.openrdf.query.impl.MutableTupleQueryResult


  private void compareTupleQueryResults(TupleQueryResult queryResult, TupleQueryResult expectedResult)
    throws Exception
  {
    // Create MutableTupleQueryResult to be able to re-iterate over the
    // results
    MutableTupleQueryResult queryResultTable = new MutableTupleQueryResult(queryResult);
    MutableTupleQueryResult expectedResultTable = new MutableTupleQueryResult(expectedResult);

    if (!QueryResultUtil.equals(queryResultTable, expectedResultTable)) {
      queryResultTable.beforeFirst();
      expectedResultTable.beforeFirst();

      /*
       * StringBuilder message = new StringBuilder(128);
       * message.append("\n============ "); message.append(getName());
       * message.append(" =======================\n");
View Full Code Here

TOP

Related Classes of org.openrdf.query.impl.MutableTupleQueryResult

Copyright © 2018 www.massapicom. 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.