Class QueryExecutionAdapter
java.lang.Object
org.aksw.jenax.arq.util.exec.query.QueryExecutionAdapter
- All Implemented Interfaces:
AutoCloseable,org.apache.jena.query.QueryExecution
- Author:
- Claus Stadler Date: 11/29/11 Time: 12:01 AM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidclose()booleanexecAsk()org.apache.jena.rdf.model.Modelorg.apache.jena.rdf.model.ModelexecConstruct(org.apache.jena.rdf.model.Model model) org.apache.jena.query.Datasetorg.apache.jena.query.DatasetexecConstructDataset(org.apache.jena.query.Dataset arg0) Iterator<org.apache.jena.sparql.core.Quad>Iterator<org.apache.jena.graph.Triple>org.apache.jena.rdf.model.Modelorg.apache.jena.rdf.model.ModelexecDescribe(org.apache.jena.rdf.model.Model model) Iterator<org.apache.jena.graph.Triple>org.apache.jena.atlas.json.JsonArrayexecJson()Iterator<org.apache.jena.atlas.json.JsonObject>org.apache.jena.query.ResultSetorg.apache.jena.sparql.util.Contextorg.apache.jena.query.Datasetorg.apache.jena.query.QuerygetQuery()The query associated with a query execution.longlongbooleanisClosed()voidsetInitialBinding(org.apache.jena.query.QuerySolution binding) Deprecated.voidsetInitialBinding(org.apache.jena.sparql.engine.binding.Binding binding) Deprecated.voidsetTimeout(long timeout) Deprecated.voidsetTimeout(long timeout1, long timeout2) Deprecated.voidsetTimeout(long timeout, TimeUnit timeoutUnits) Deprecated.voidsetTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2) Deprecated.
-
Constructor Details
-
QueryExecutionAdapter
public QueryExecutionAdapter()
-
-
Method Details
-
setInitialBinding
Deprecated. -
setInitialBinding
Deprecated. -
getDataset
public org.apache.jena.query.Dataset getDataset()- Specified by:
getDatasetin interfaceorg.apache.jena.query.QueryExecution
-
getContext
public org.apache.jena.sparql.util.Context getContext()- Specified by:
getContextin interfaceorg.apache.jena.query.QueryExecution
-
getQuery
public org.apache.jena.query.Query getQuery()The query associated with a query execution. May be null (QueryExecution may have been created by other means)- Specified by:
getQueryin interfaceorg.apache.jena.query.QueryExecution
-
getQueryString
- Specified by:
getQueryStringin interfaceorg.apache.jena.query.QueryExecution
-
execSelect
public org.apache.jena.query.ResultSet execSelect()- Specified by:
execSelectin interfaceorg.apache.jena.query.QueryExecution
-
execConstruct
public org.apache.jena.rdf.model.Model execConstruct()- Specified by:
execConstructin interfaceorg.apache.jena.query.QueryExecution
-
execConstruct
public org.apache.jena.rdf.model.Model execConstruct(org.apache.jena.rdf.model.Model model) - Specified by:
execConstructin interfaceorg.apache.jena.query.QueryExecution
-
execDescribe
public org.apache.jena.rdf.model.Model execDescribe()- Specified by:
execDescribein interfaceorg.apache.jena.query.QueryExecution
-
execDescribe
public org.apache.jena.rdf.model.Model execDescribe(org.apache.jena.rdf.model.Model model) - Specified by:
execDescribein interfaceorg.apache.jena.query.QueryExecution
-
execAsk
public boolean execAsk()- Specified by:
execAskin interfaceorg.apache.jena.query.QueryExecution
-
abort
public void abort()- Specified by:
abortin interfaceorg.apache.jena.query.QueryExecution
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.apache.jena.query.QueryExecution
-
setTimeout
Deprecated. -
setTimeout
Deprecated. -
setTimeout
@Deprecated public void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2) Deprecated. -
setTimeout
Deprecated. -
execConstructTriples
- Specified by:
execConstructTriplesin interfaceorg.apache.jena.query.QueryExecution
-
execDescribeTriples
- Specified by:
execDescribeTriplesin 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
-
isClosed
public boolean isClosed()- Specified by:
isClosedin 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 arg0) - Specified by:
execConstructDatasetin interfaceorg.apache.jena.query.QueryExecution
-
execConstructQuads
- Specified by:
execConstructQuadsin 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
-