Class QueryExecOverRowSet
java.lang.Object
org.aksw.commons.util.closeable.AutoCloseableBase
org.aksw.jenax.dataaccess.sparql.exec.query.QueryExecBaseSelect
org.aksw.jenax.dataaccess.sparql.exec.query.QueryExecOverRowSet
- All Implemented Interfaces:
AutoCloseable,QueryExecBaseIterator,org.apache.jena.sparql.exec.QueryExec
Map all non-select sparql query types to select queries.
Describe queries are currently unsupported.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classQueryExec wrapper for just the row set. -
Field Summary
Fields inherited from class org.aksw.jenax.dataaccess.sparql.exec.query.QueryExecBaseSelect
activeQueryExec, isCancelled, query, rawTuplesFields inherited from class org.aksw.commons.util.closeable.AutoCloseableBase
closeStackTrace, enableCloseStackTrace, isClosed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()protected abstract org.apache.jena.sparql.exec.RowSetcreateRowSet(org.apache.jena.query.Query selectQuery) The actual method that needs to be implemented.protected org.apache.jena.sparql.exec.QueryExecdoSelect(org.apache.jena.query.Query query) The actual method that needs to be implemented.booleanisClosed()Methods inherited from class org.aksw.jenax.dataaccess.sparql.exec.query.QueryExecBaseSelect
adjust, ask, closeActual, constructQuads, constructTriples, describeTriples, execJsonItems, getContext, getDataset, getQuery, getQueryString, internalSelect, select, setActiveQueryExecMethods inherited from class org.aksw.commons.util.closeable.AutoCloseableBase
close, ensureOpen, throwClosedExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.sparql.exec.QueryExec
closeMethods inherited from interface org.aksw.jenax.dataaccess.sparql.exec.query.QueryExecBaseIterator
construct, construct, constructDataset, constructDataset, describe, describe, execJson
-
Constructor Details
-
QueryExecOverRowSet
public QueryExecOverRowSet(org.apache.jena.query.Query query)
-
-
Method Details
-
createRowSet
protected abstract org.apache.jena.sparql.exec.RowSet createRowSet(org.apache.jena.query.Query selectQuery) The actual method that needs to be implemented. The argument is always a SPARQL query of select type. The RowSet may need to implement close() in order to close an underlying query execution. -
doSelect
protected org.apache.jena.sparql.exec.QueryExec doSelect(org.apache.jena.query.Query query) Description copied from class:QueryExecBaseSelectThe actual method that needs to be implemented. The argument is always a SPARQL query of select type. The RowSet may need to implement close() in order to close an underlying query execution.- Specified by:
doSelectin classQueryExecBaseSelect
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.apache.jena.sparql.exec.QueryExec- Overrides:
isClosedin classQueryExecBaseSelect
-
abort
public void abort()- Specified by:
abortin interfaceorg.apache.jena.sparql.exec.QueryExec- Overrides:
abortin classQueryExecBaseSelect
-