Class QueryExecutionExceptionCache

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

public class QueryExecutionExceptionCache extends org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.common.cache.Cache<String,Exception>
     

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

    decoratee
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueryExecutionExceptionCache(org.apache.jena.query.QueryExecution decoratee, com.google.common.cache.Cache<String,Exception> exceptionCache)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected String
     
    protected void
     

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

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

    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

    • exceptionCache

      protected com.google.common.cache.Cache<String,Exception> exceptionCache
  • Constructor Details

    • QueryExecutionExceptionCache

      public QueryExecutionExceptionCache(org.apache.jena.query.QueryExecution decoratee, com.google.common.cache.Cache<String,Exception> exceptionCache)
  • Method Details

    • getQueryStr

      protected String getQueryStr()
    • beforeExec

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

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