Class QueryExecModCustomBase<T extends org.apache.jena.sparql.exec.QueryExecMod>

java.lang.Object
org.aksw.jenax.dataaccess.sparql.builder.exec.query.QueryExecModCustomBase<T>
All Implemented Interfaces:
org.apache.jena.sparql.exec.QueryExecMod
Direct Known Subclasses:
QueryExecBuilderCustomBase

public abstract class QueryExecModCustomBase<T extends org.apache.jena.sparql.exec.QueryExecMod> extends Object implements org.apache.jena.sparql.exec.QueryExecMod
  • Field Details

    • contextAccumulator

      protected org.apache.jena.sparql.util.ContextAccumulator contextAccumulator
    • initialTimeoutValue

      protected long initialTimeoutValue
    • initialTimeoutUnit

      protected TimeUnit initialTimeoutUnit
    • overallTimeoutValue

      protected long overallTimeoutValue
    • overallTimeoutUnit

      protected TimeUnit overallTimeoutUnit
  • Constructor Details

    • QueryExecModCustomBase

      public QueryExecModCustomBase()
    • QueryExecModCustomBase

      public QueryExecModCustomBase(Supplier<org.apache.jena.sparql.util.Context> baseContextSupplier)
    • QueryExecModCustomBase

      public QueryExecModCustomBase(org.apache.jena.sparql.util.ContextAccumulator contextAccumulator)
    • QueryExecModCustomBase

      public QueryExecModCustomBase(QueryExecModCustomBase<?> that)
  • Method Details

    • getInitialTimeoutUnit

      public TimeUnit getInitialTimeoutUnit()
    • getInitialTimeoutValue

      public long getInitialTimeoutValue()
    • getOverallTimeoutValue

      public long getOverallTimeoutValue()
    • getOverallTimeoutUnit

      public TimeUnit getOverallTimeoutUnit()
    • self

      protected T self()
    • timeout

      public org.apache.jena.sparql.exec.QueryExecMod timeout(long timeout)
      Specified by:
      timeout in interface org.apache.jena.sparql.exec.QueryExecMod
    • initialTimeout

      public T initialTimeout(long timeout, TimeUnit timeUnit)
      Specified by:
      initialTimeout in interface org.apache.jena.sparql.exec.QueryExecMod
    • overallTimeout

      public T overallTimeout(long timeout, TimeUnit timeUnit)
      Specified by:
      overallTimeout in interface org.apache.jena.sparql.exec.QueryExecMod
    • getContext

      public org.apache.jena.sparql.util.Context getContext()
      Specified by:
      getContext in interface org.apache.jena.sparql.exec.QueryExecMod
    • build

      public abstract org.apache.jena.sparql.exec.QueryExec build()
      Specified by:
      build in interface org.apache.jena.sparql.exec.QueryExecMod
    • defaultTimeoutsFromContext

      public static void defaultTimeoutsFromContext(QueryExecModCustomBase<?> builder, org.apache.jena.sparql.util.Context cxt)
    • overwriteTimeouts

      public static <T extends org.apache.jena.sparql.exec.QueryExecMod> T overwriteTimeouts(T builder, Object obj)
      Take obj, find the timeout(s) and apply to the builder
    • applyTimeouts

      public static void applyTimeouts(QueryExecModCustomBase<?> builder, Object obj)
      Take obj, find the timeout(s) and apply to the builder
    • applySettings

      public <X extends org.apache.jena.sparql.exec.QueryExecMod> X applySettings(X dst)