|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sail.query.GraphPatternQuery
An abstract representation of an RDF query that works with path expressions.
| Method Summary | |
void |
evaluate(RdfSource rdfSource,
QueryAnswerListener listener)
Evaluates the query on the data contained in the supplied RdfSource and reports the results to the supplied QueryAnswerListener. |
GraphPattern |
getGraphPattern()
|
int |
getLimit()
|
int |
getOffset()
|
abstract void |
getProjectionVariables(Collection variables)
Gets all variables that are used in the projection of this GraphPatternQuery. |
void |
getVariables(Collection variables)
Gets all variables that are used in this query. |
boolean |
hasLimit()
|
boolean |
hasOffset()
|
boolean |
isDistinct()
|
void |
setDistinct(boolean distinct)
|
void |
setGraphPattern(GraphPattern graphPattern)
|
void |
setLimit(int limit)
|
void |
setOffset(int offset)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.sesame.sail.query.Query |
getColumnHeaders |
| Method Detail |
public boolean isDistinct()
public void setDistinct(boolean distinct)
public int getOffset()
public boolean hasOffset()
public void setOffset(int offset)
public int getLimit()
public boolean hasLimit()
public void setLimit(int limit)
public void setGraphPattern(GraphPattern graphPattern)
public GraphPattern getGraphPattern()
public void getVariables(Collection variables)
Query
getVariables in interface Queryvariables - A Collection to add the Var objects to.public abstract void getProjectionVariables(Collection variables)
variables - A Collection to add the Var objects to.
public void evaluate(RdfSource rdfSource,
QueryAnswerListener listener)
throws SailQueryException
Query
evaluate in interface QueryrdfSource - An RdfSource containing the data to evaluate the query on.listener - A QueryAnswerListener that will receive any query results.
SailQueryException - An exception indicating that the query
evaluation was stopped abnormally.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||