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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryExecModCustomBase(Supplier<org.apache.jena.sparql.util.Context> baseContextSupplier) QueryExecModCustomBase(org.apache.jena.sparql.util.ContextAccumulator contextAccumulator) -
Method Summary
Modifier and TypeMethodDescription<X extends org.apache.jena.sparql.exec.QueryExecMod>
XapplySettings(X dst) static voidapplyTimeouts(QueryExecModCustomBase<?> builder, Object obj) Take obj, find the timeout(s) and apply to the builderabstract org.apache.jena.sparql.exec.QueryExecbuild()static voiddefaultTimeoutsFromContext(QueryExecModCustomBase<?> builder, org.apache.jena.sparql.util.Context cxt) org.apache.jena.sparql.util.ContextlonglonginitialTimeout(long timeout, TimeUnit timeUnit) overallTimeout(long timeout, TimeUnit timeUnit) static <T extends org.apache.jena.sparql.exec.QueryExecMod>
ToverwriteTimeouts(T builder, Object obj) Take obj, find the timeout(s) and apply to the builderprotected Tself()timeout(long timeout) Methods 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.QueryExecMod
timeout
-
Field Details
-
contextAccumulator
protected org.apache.jena.sparql.util.ContextAccumulator contextAccumulator -
initialTimeoutValue
protected long initialTimeoutValue -
initialTimeoutUnit
-
overallTimeoutValue
protected long overallTimeoutValue -
overallTimeoutUnit
-
-
Constructor Details
-
QueryExecModCustomBase
public QueryExecModCustomBase() -
QueryExecModCustomBase
-
QueryExecModCustomBase
public QueryExecModCustomBase(org.apache.jena.sparql.util.ContextAccumulator contextAccumulator) -
QueryExecModCustomBase
-
-
Method Details
-
getInitialTimeoutUnit
-
getInitialTimeoutValue
public long getInitialTimeoutValue() -
getOverallTimeoutValue
public long getOverallTimeoutValue() -
getOverallTimeoutUnit
-
self
-
timeout
- Specified by:
timeoutin interfaceorg.apache.jena.sparql.exec.QueryExecMod
-
initialTimeout
- Specified by:
initialTimeoutin interfaceorg.apache.jena.sparql.exec.QueryExecMod
-
overallTimeout
- Specified by:
overallTimeoutin interfaceorg.apache.jena.sparql.exec.QueryExecMod
-
getContext
public org.apache.jena.sparql.util.Context getContext()- Specified by:
getContextin interfaceorg.apache.jena.sparql.exec.QueryExecMod
-
build
public abstract org.apache.jena.sparql.exec.QueryExec build()- Specified by:
buildin interfaceorg.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
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)
-