org.openrdf.sesame.sail.query
Class Intersect
java.lang.Object
org.openrdf.sesame.sail.query.SetOperator
org.openrdf.sesame.sail.query.Intersect
- All Implemented Interfaces:
- Query
- public class Intersect
- extends SetOperator
Determines the intersection of two sets of values that are produced
by queries.
|
Constructor Summary |
Intersect(Query leftArg,
Query rightArg,
boolean all)
Creates a new Intersect object that only reports query answers that are
present in the query answer sets of both the left- and right argument. |
Intersect
public Intersect(Query leftArg,
Query rightArg,
boolean all)
- Creates a new Intersect object that only reports query answers that are
present in the query answer sets of both the left- and right argument.
evaluate
public void evaluate(RdfSource rdfSource,
QueryAnswerListener listener)
throws SailQueryException
- Description copied from interface:
Query
- Evaluates the query on the data contained in the supplied RdfSource and
reports the results to the supplied QueryAnswerListener.
- Parameters:
rdfSource - An RdfSource containing the data to evaluate the query on.listener - A QueryAnswerListener that will receive any query results.
- Throws:
SailQueryException - An exception indicating that the query
evaluation was stopped abnormally.
toString
public String toString()
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.