Package org.eclipse.rdf4j.query.impl
Class AbstractQuery
java.lang.Object
org.eclipse.rdf4j.query.impl.AbstractOperation
org.eclipse.rdf4j.query.impl.AbstractQuery
- Direct Known Subclasses:
AbstractHTTPQuery,AbstractParserQuery,AbstractParserQuery
Abstract super class of all query types.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.Query
Query.QueryType -
Field Summary
Fields inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
bindings, dataset, includeInferred -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.voidsetMaxQueryTime(int maxQueryTimeSeconds) Deprecated.Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTimeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
Constructor Details
-
AbstractQuery
protected AbstractQuery()Creates a new query object.
-
-
Method Details
-
setMaxQueryTime
Deprecated.Description copied from interface:QuerySpecifies the maximum time that a query is allowed to run. The query will be interrupted when it exceeds the time limit. Any consecutive requests to fetch query results will result inQueryInterruptedExceptions.- Specified by:
setMaxQueryTimein interfaceQuery- Parameters:
maxQueryTimeSeconds- The maximum query time, measured in seconds. A negative or zero value indicates an unlimited query time (which is the default).
-
getMaxQueryTime
Deprecated.Description copied from interface:QueryReturns the maximum query evaluation time.- Specified by:
getMaxQueryTimein interfaceQuery- Returns:
- The maximum query evaluation time, measured in seconds.
- See Also:
-