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.QueryExecution
public void close()
Closeable
close
in interface Closeable
close
in interface com.hp.hpl.jena.query.QueryExecution
Closeable.close()
public boolean execAsk()
execAsk
in interface com.hp.hpl.jena.query.QueryExecution
public Model execConstruct()
execConstruct
in interface com.hp.hpl.jena.query.QueryExecution
public Model execConstruct(Model m)
execConstruct
in interface com.hp.hpl.jena.query.QueryExecution
public Model execDescribe()
execDescribe
in interface com.hp.hpl.jena.query.QueryExecution
public Model execDescribe(Model m)
execDescribe
in interface com.hp.hpl.jena.query.QueryExecution
public com.hp.hpl.jena.query.ResultSet execSelect()
execSelect
in interface com.hp.hpl.jena.query.QueryExecution
public 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.QueryExecution
public com.hp.hpl.jena.query.Dataset getDataset()
getDataset
in interface com.hp.hpl.jena.query.QueryExecution
public void setFileManager(FileManager fm)
setFileManager
in interface com.hp.hpl.jena.query.QueryExecution
public void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
setInitialBinding
in interface com.hp.hpl.jena.query.QueryExecution
public Iterator<Triple> execConstructTriples()
execConstructTriples
in interface com.hp.hpl.jena.query.QueryExecution
public Iterator<Triple> execDescribeTriples()
execDescribeTriples
in interface com.hp.hpl.jena.query.QueryExecution
public com.hp.hpl.jena.query.Query getQuery()
getQuery
in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long timeout)
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long arg0, TimeUnit arg1)
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long arg0, long arg1)
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2)
setTimeout
in interface com.hp.hpl.jena.query.QueryExecution
public long getTimeout1()
getTimeout1
in interface com.hp.hpl.jena.query.QueryExecution
public long getTimeout2()
getTimeout2
in interface com.hp.hpl.jena.query.QueryExecution
Copyright © 2017 Franz Inc.. All rights reserved.