Package com.franz.agraph.jena
Class AGQueryExecution
java.lang.Object
com.franz.agraph.jena.AGQueryExecution
- All Implemented Interfaces:
Closeable
,AutoCloseable
,QueryExecution
Implements the Jena QueryExecution interface for AllegroGraph.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
close()
long
long
boolean
execAsk()
execConstructDataset
(Dataset dataset) execJson()
void
Executes SPARQL Update.getQuery()
long
long
boolean
isClosed()
void
setInitialBinding
(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)
-
Constructor Details
-
AGQueryExecution
-
-
Method Details
-
abort
public void abort()- Specified by:
abort
in interfaceQueryExecution
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceQueryExecution
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceQueryExecution
-
execAsk
public boolean execAsk()- Specified by:
execAsk
in interfaceQueryExecution
-
execJson
- Specified by:
execJson
in interfaceQueryExecution
-
execJsonItems
- Specified by:
execJsonItems
in interfaceQueryExecution
-
execConstruct
- Specified by:
execConstruct
in interfaceQueryExecution
-
execConstruct
- Specified by:
execConstruct
in interfaceQueryExecution
-
execDescribe
- Specified by:
execDescribe
in interfaceQueryExecution
-
execDescribe
- Specified by:
execDescribe
in interfaceQueryExecution
-
execSelect
- Specified by:
execSelect
in interfaceQueryExecution
-
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
- Specified by:
getContext
in interfaceQueryExecution
-
getDataset
- Specified by:
getDataset
in interfaceQueryExecution
-
setInitialBinding
-
execConstructTriples
- Specified by:
execConstructTriples
in interfaceQueryExecution
-
execDescribeTriples
- Specified by:
execDescribeTriples
in interfaceQueryExecution
-
getQuery
- Specified by:
getQuery
in interfaceQueryExecution
-
setTimeout
public void setTimeout(long timeout) -
setTimeout
-
setTimeout
public void setTimeout(long arg0, long arg1) -
setTimeout
-
getQueryString
- Specified by:
getQueryString
in interfaceQueryExecution
-
getTimeout1
public long getTimeout1()- Specified by:
getTimeout1
in interfaceQueryExecution
-
getTimeout2
public long getTimeout2()- Specified by:
getTimeout2
in interfaceQueryExecution
-
execConstructQuads
- Specified by:
execConstructQuads
in interfaceQueryExecution
-
execConstructDataset
- Specified by:
execConstructDataset
in interfaceQueryExecution
-
execConstructDataset
- Specified by:
execConstructDataset
in interfaceQueryExecution
-