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

public abstract class QueryExecOverRowSet extends QueryExecBaseSelect
Map all non-select sparql query types to select queries. Describe queries are currently unsupported.
  • 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: QueryExecBaseSelect
      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.
      Specified by:
      doSelect in class QueryExecBaseSelect
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.apache.jena.sparql.exec.QueryExec
      Overrides:
      isClosed in class QueryExecBaseSelect
    • abort

      public void abort()
      Specified by:
      abort in interface org.apache.jena.sparql.exec.QueryExec
      Overrides:
      abort in class QueryExecBaseSelect