Package com.franz.agraph.jena
Class AGQueryExecution
java.lang.Object
com.franz.agraph.jena.AGQueryExecution
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.jena.query.QueryExecution
public class AGQueryExecution
extends Object
implements org.apache.jena.query.QueryExecution, Closeable
Implements the Jena QueryExecution interface for AllegroGraph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidclose()longlongbooleanexecAsk()org.apache.jena.query.Datasetorg.apache.jena.query.DatasetexecConstructDataset(org.apache.jena.query.Dataset dataset) Iterator<org.apache.jena.sparql.core.Quad>org.apache.jena.atlas.json.JsonArrayexecJson()Iterator<org.apache.jena.atlas.json.JsonObject>org.apache.jena.query.ResultSetvoidExecutes SPARQL Update.org.apache.jena.sparql.util.Contextorg.apache.jena.query.Datasetorg.apache.jena.query.QuerygetQuery()longlongbooleanisClosed()voidsetInitialBinding(org.apache.jena.query.QuerySolution binding) voidsetTimeout(long timeout) voidsetTimeout(long arg0, long arg1) voidsetTimeout(long arg0, TimeUnit arg1) voidsetTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2)
-
Constructor Details
-
AGQueryExecution
-
-
Method Details
-
abort
public void abort()- Specified by:
abortin interfaceorg.apache.jena.query.QueryExecution
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.jena.query.QueryExecution
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.apache.jena.query.QueryExecution
-
execAsk
public boolean execAsk()- Specified by:
execAskin interfaceorg.apache.jena.query.QueryExecution
-
execJson
public org.apache.jena.atlas.json.JsonArray execJson()- Specified by:
execJsonin interfaceorg.apache.jena.query.QueryExecution
-
execJsonItems
- Specified by:
execJsonItemsin interfaceorg.apache.jena.query.QueryExecution
-
execConstruct
- Specified by:
execConstructin interfaceorg.apache.jena.query.QueryExecution
-
execConstruct
- Specified by:
execConstructin interfaceorg.apache.jena.query.QueryExecution
-
execDescribe
- Specified by:
execDescribein interfaceorg.apache.jena.query.QueryExecution
-
execDescribe
- Specified by:
execDescribein interfaceorg.apache.jena.query.QueryExecution
-
execSelect
public org.apache.jena.query.ResultSet execSelect()- Specified by:
execSelectin interfaceorg.apache.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 org.apache.jena.sparql.util.Context getContext()- Specified by:
getContextin interfaceorg.apache.jena.query.QueryExecution
-
getDataset
public org.apache.jena.query.Dataset getDataset()- Specified by:
getDatasetin interfaceorg.apache.jena.query.QueryExecution
-
setInitialBinding
public void setInitialBinding(org.apache.jena.query.QuerySolution binding) -
execConstructTriples
- Specified by:
execConstructTriplesin interfaceorg.apache.jena.query.QueryExecution
-
execDescribeTriples
- Specified by:
execDescribeTriplesin interfaceorg.apache.jena.query.QueryExecution
-
getQuery
public org.apache.jena.query.Query getQuery()- Specified by:
getQueryin interfaceorg.apache.jena.query.QueryExecution
-
setTimeout
public void setTimeout(long timeout) -
setTimeout
-
setTimeout
public void setTimeout(long arg0, long arg1) -
setTimeout
-
getQueryString
- Specified by:
getQueryStringin interfaceorg.apache.jena.query.QueryExecution
-
getTimeout1
public long getTimeout1()- Specified by:
getTimeout1in interfaceorg.apache.jena.query.QueryExecution
-
getTimeout2
public long getTimeout2()- Specified by:
getTimeout2in interfaceorg.apache.jena.query.QueryExecution
-
execConstructQuads
- Specified by:
execConstructQuadsin interfaceorg.apache.jena.query.QueryExecution
-
execConstructDataset
public org.apache.jena.query.Dataset execConstructDataset()- Specified by:
execConstructDatasetin interfaceorg.apache.jena.query.QueryExecution
-
execConstructDataset
public org.apache.jena.query.Dataset execConstructDataset(org.apache.jena.query.Dataset dataset) - Specified by:
execConstructDatasetin interfaceorg.apache.jena.query.QueryExecution
-