public class AGQueryExecution extends Object implements com.hp.hpl.jena.query.QueryExecution, Closeable
| Constructor and Description |
|---|
AGQueryExecution(AGQuery query,
AGModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close()
Releases system resources associated with the object.
|
long |
countConstruct() |
long |
countSelect() |
boolean |
execAsk() |
Model |
execConstruct() |
Model |
execConstruct(Model m) |
Iterator<Triple> |
execConstructTriples() |
Model |
execDescribe() |
Model |
execDescribe(Model m) |
Iterator<Triple> |
execDescribeTriples() |
com.hp.hpl.jena.query.ResultSet |
execSelect() |
void |
execUpdate()
Executes SPARQL Update.
|
com.hp.hpl.jena.sparql.util.Context |
getContext() |
com.hp.hpl.jena.query.Dataset |
getDataset() |
com.hp.hpl.jena.query.Query |
getQuery() |
long |
getTimeout1() |
long |
getTimeout2() |
void |
setFileManager(FileManager fm) |
void |
setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding) |
void |
setTimeout(long timeout) |
void |
setTimeout(long arg0,
long arg1) |
void |
setTimeout(long arg0,
TimeUnit arg1) |
void |
setTimeout(long timeout1,
TimeUnit timeUnit1,
long timeout2,
TimeUnit timeUnit2) |
public void abort()
abort in interface com.hp.hpl.jena.query.QueryExecutionpublic void close()
Closeableclose in interface Closeableclose in interface com.hp.hpl.jena.query.QueryExecutionCloseable.close()public boolean execAsk()
execAsk in interface com.hp.hpl.jena.query.QueryExecutionpublic Model execConstruct()
execConstruct in interface com.hp.hpl.jena.query.QueryExecutionpublic Model execConstruct(Model m)
execConstruct in interface com.hp.hpl.jena.query.QueryExecutionpublic Model execDescribe()
execDescribe in interface com.hp.hpl.jena.query.QueryExecutionpublic Model execDescribe(Model m)
execDescribe in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.query.ResultSet execSelect()
execSelect in interface com.hp.hpl.jena.query.QueryExecutionpublic void execUpdate()
Executes as a SPARQL Update to modify the model/repository.
public long countSelect()
public long countConstruct()
public com.hp.hpl.jena.sparql.util.Context getContext()
getContext in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.query.Dataset getDataset()
getDataset in interface com.hp.hpl.jena.query.QueryExecutionpublic void setFileManager(FileManager fm)
setFileManager in interface com.hp.hpl.jena.query.QueryExecutionpublic void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
setInitialBinding in interface com.hp.hpl.jena.query.QueryExecutionpublic Iterator<Triple> execConstructTriples()
execConstructTriples in interface com.hp.hpl.jena.query.QueryExecutionpublic Iterator<Triple> execDescribeTriples()
execDescribeTriples in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.query.Query getQuery()
getQuery in interface com.hp.hpl.jena.query.QueryExecutionpublic void setTimeout(long timeout)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic void setTimeout(long arg0,
TimeUnit arg1)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic void setTimeout(long arg0,
long arg1)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic void setTimeout(long timeout1,
TimeUnit timeUnit1,
long timeout2,
TimeUnit timeUnit2)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic long getTimeout1()
getTimeout1 in interface com.hp.hpl.jena.query.QueryExecutionpublic long getTimeout2()
getTimeout2 in interface com.hp.hpl.jena.query.QueryExecutionCopyright © 2017 Franz Inc.. All rights reserved.