|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryExecution
A interface for a single execution of a query.
Method Summary | |
---|---|
void |
abort()
Stop in mid execution. |
void |
close()
Close the query execution and stop query evaluation as soon as convenient. |
boolean |
execAsk()
Execute an ASK query |
com.hp.hpl.jena.rdf.model.Model |
execConstruct()
Execute a CONSTRUCT query |
com.hp.hpl.jena.rdf.model.Model |
execConstruct(com.hp.hpl.jena.rdf.model.Model model)
Execute a CONSTRUCT query, putting the statements into 'model'. |
com.hp.hpl.jena.rdf.model.Model |
execDescribe()
Execute a DESCRIBE query |
com.hp.hpl.jena.rdf.model.Model |
execDescribe(com.hp.hpl.jena.rdf.model.Model model)
Execute a DESCRIBE query, putting the statements into 'model'. |
ResultSet |
execSelect()
Execute a SELECT query |
Context |
getContext()
The properties associated with a query execution - implementation specific parameters This includes Java objects (so it is not an RDF graph). |
Dataset |
getDataset()
The dataset against which the query will execute. |
Query |
getQuery()
The query associated with a query execution. |
void |
setFileManager(com.hp.hpl.jena.util.FileManager fm)
Set the FileManger that might be used to load files. |
void |
setInitialBinding(QuerySolution binding)
Set the initial association of variables and values. |
void |
setTimeout(long timeout)
Set time, in milliseconds |
void |
setTimeout(long timeout1,
long timeout2)
Set time, in milliseconds |
void |
setTimeout(long timeout,
TimeUnit timeoutUnits)
Set a timeout on the query execution. |
void |
setTimeout(long timeout1,
TimeUnit timeUnit1,
long timeout2,
TimeUnit timeUnit2)
Set timeouts on the query execution; the first timeout refers to time to first result, the second refers to overall query execution after the first result. |
Method Detail |
---|
void setFileManager(com.hp.hpl.jena.util.FileManager fm)
void setInitialBinding(QuerySolution binding)
binding
- Dataset getDataset()
Context getContext()
Query getQuery()
ResultSet execSelect()
com.hp.hpl.jena.rdf.model.Model execConstruct()
com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model model)
com.hp.hpl.jena.rdf.model.Model execDescribe()
com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model model)
boolean execAsk()
void abort()
void close()
void setTimeout(long timeout, TimeUnit timeoutUnits)
void setTimeout(long timeout)
setTimeout(long, TimeUnit)
void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2)
void setTimeout(long timeout1, long timeout2)
setTimeout(long, TimeUnit, long, TimeUnit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |