com.franz.agraph.jena
Class AGQueryExecution
java.lang.Object
com.franz.agraph.jena.AGQueryExecution
- All Implemented Interfaces:
- Closeable, com.hp.hpl.jena.query.QueryExecution
public class AGQueryExecution
- extends Object
- implements com.hp.hpl.jena.query.QueryExecution, Closeable
Implements the Jena QueryExecution interface for AllegroGraph.
AGQueryExecution
public AGQueryExecution(AGQuery query,
AGModel model)
abort
public void abort()
- Specified by:
abort
in interface com.hp.hpl.jena.query.QueryExecution
close
public void close()
- Description copied from interface:
Closeable
- Releases system resources associated with the object.
- Specified by:
close
in interface Closeable
- Specified by:
close
in interface com.hp.hpl.jena.query.QueryExecution
- See Also:
Closeable.close()
execAsk
public boolean execAsk()
- Specified by:
execAsk
in interface com.hp.hpl.jena.query.QueryExecution
execConstruct
public com.hp.hpl.jena.rdf.model.Model execConstruct()
- Specified by:
execConstruct
in interface com.hp.hpl.jena.query.QueryExecution
execConstruct
public com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model m)
- Specified by:
execConstruct
in interface com.hp.hpl.jena.query.QueryExecution
execDescribe
public com.hp.hpl.jena.rdf.model.Model execDescribe()
- Specified by:
execDescribe
in interface com.hp.hpl.jena.query.QueryExecution
execDescribe
public com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model m)
- Specified by:
execDescribe
in interface com.hp.hpl.jena.query.QueryExecution
execSelect
public com.hp.hpl.jena.query.ResultSet execSelect()
- Specified by:
execSelect
in interface com.hp.hpl.jena.query.QueryExecution
execUpdate
public void execUpdate()
- Executes SPARQL Update.
Executes as a SPARQL Update
to modify the model/repository.
countSelect
public long countSelect()
countConstruct
public long countConstruct()
getContext
public com.hp.hpl.jena.sparql.util.Context getContext()
- Specified by:
getContext
in interface com.hp.hpl.jena.query.QueryExecution
getDataset
public com.hp.hpl.jena.query.Dataset getDataset()
- Specified by:
getDataset
in interface com.hp.hpl.jena.query.QueryExecution
setFileManager
public void setFileManager(com.hp.hpl.jena.util.FileManager fm)
- Specified by:
setFileManager
in interface com.hp.hpl.jena.query.QueryExecution
setInitialBinding
public void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
- Specified by:
setInitialBinding
in interface com.hp.hpl.jena.query.QueryExecution
execConstructTriples
public Iterator<com.hp.hpl.jena.graph.Triple> execConstructTriples()
- Specified by:
execConstructTriples
in interface com.hp.hpl.jena.query.QueryExecution
execDescribeTriples
public Iterator<com.hp.hpl.jena.graph.Triple> execDescribeTriples()
- Specified by:
execDescribeTriples
in interface com.hp.hpl.jena.query.QueryExecution
getQuery
public com.hp.hpl.jena.query.Query getQuery()
- Specified by:
getQuery
in interface com.hp.hpl.jena.query.QueryExecution
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
setTimeout
public void setTimeout(long arg0,
TimeUnit arg1)
- Specified by:
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
setTimeout
public void setTimeout(long arg0,
long arg1)
- Specified by:
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
setTimeout
public void setTimeout(long timeout1,
TimeUnit timeUnit1,
long timeout2,
TimeUnit timeUnit2)
- Specified by:
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
getTimeout1
public long getTimeout1()
- Specified by:
getTimeout1
in interface com.hp.hpl.jena.query.QueryExecution
getTimeout2
public long getTimeout2()
- Specified by:
getTimeout2
in interface com.hp.hpl.jena.query.QueryExecution