| java.lang.Object org.openrdf.query.QueryResultUtil
QueryResultUtil | public class QueryResultUtil (Code) | | Class offering utility methods related to query results.
author: Arjohn Kampman |
bindingSetsCompatible | public static boolean bindingSetsCompatible(BindingSet bs1, BindingSet bs2)(Code) | | Check whether two
BindingSet s are compatible. Two binding sets
are compatible if they have equal values for each binding name that occurs
in both binding sets.
|
equals | public static boolean equals(TupleQueryResult tqr1, TupleQueryResult tqr2) throws QueryEvaluationException(Code) | | Compares the two query results by converting them to graphs and returns
true if they are equal. QueryResults are equal if they contain the same
set of BindingSet and have the headers. Blank nodes identifiers are not
relevant for equality, they are mapped from one model to the other by
using the attached properties. Note that the method consumes both query
results fully.
throws: QueryEvaluationException - |
|
|