Class QueryExecutionExecWrapper

java.lang.Object
org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
org.aksw.jena_sparql_api.core.QueryExecutionExecWrapper
All Implemented Interfaces:
AutoCloseable, org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapper, org.apache.jena.query.QueryExecution

public class QueryExecutionExecWrapper extends org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
QueryExecution for before and after exec actions
Author:
raven
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Runnable
     
    protected Runnable
     

    Fields inherited from class org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase

    decoratee
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueryExecutionExecWrapper(org.apache.jena.query.QueryExecution decoratee, Runnable beforeExecAction, Runnable afterExecAction)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     

    Methods inherited from class org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase

    execAsk, execConstruct, execConstruct, execConstructDataset, execConstructDataset, execConstructQuads, execConstructTriples, execDescribe, execDescribe, execDescribeTriples, execJson, execJsonItems, execSelect, getDelegate, getQueryString, onException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapper

    abort, close, getContext, getDataset, getQuery, getTimeout1, getTimeout2, isClosed, tryGetDelegate, unwrap
  • Field Details

    • beforeExecAction

      protected Runnable beforeExecAction
    • afterExecAction

      protected Runnable afterExecAction
  • Constructor Details

    • QueryExecutionExecWrapper

      public QueryExecutionExecWrapper(org.apache.jena.query.QueryExecution decoratee, Runnable beforeExecAction, Runnable afterExecAction)
  • Method Details

    • beforeExec

      protected void beforeExec()
      Overrides:
      beforeExec in class org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
    • afterExec

      protected void afterExec()
      Overrides:
      afterExec in class org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>