|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.serql.SerqlEngine
QueryEngine for SeRQL queries.
| Constructor Summary | |
SerqlEngine(RdfSource rdfSource)
Creates a new QueryEngine that will use the supplied RdfSource for retrieving the data. |
|
| Method Summary | |
void |
evaluateConstructQuery(GraphQuery graphQuery,
GraphQueryResultListener graphListener)
|
void |
evaluateSelectQuery(TableQuery tableQuery,
TableQueryResultListener tableListener)
Evaluates the supplied SerqlQuery and reports the results to the supplied QueryResultListener. |
GraphQuery |
parseGraphQuery(String graphQuery)
Parses the supplied SeRQL-construct query and builds a query model from it. |
TableQuery |
parseTableQuery(String tableQuery)
Parses the supplied SeRQL-select query and builds a query model from it. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SerqlEngine(RdfSource rdfSource)
IllegalArgumentException - If the supplied RdfSource is
equal to null.| Method Detail |
public void evaluateSelectQuery(TableQuery tableQuery,
TableQueryResultListener tableListener)
throws IOException,
QueryEvaluationException
IOException - If an I/O error occurred during the writing
of the results.
QueryEvaluationException - If an error occurred during query
evaluation.
public void evaluateConstructQuery(GraphQuery graphQuery,
GraphQueryResultListener graphListener)
throws IOException,
QueryEvaluationException
IOException
QueryEvaluationException
public TableQuery parseTableQuery(String tableQuery)
throws MalformedQueryException
MalformedQueryException - If the query was syntactically
incorrect.
public GraphQuery parseGraphQuery(String graphQuery)
throws MalformedQueryException
MalformedQueryException - If the query was syntactically
incorrect.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||