public abstract class AbstractQuery extends AbstractOperation implements Query
Modifier and Type | Field and Description |
---|---|
protected int |
maxQueryTime |
bindings, dataset, includeInferred
Modifier | Constructor and Description |
---|---|
protected |
AbstractQuery()
Creates a new query object.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxQueryTime()
Returns the maximum query evaluation time.
|
void |
setMaxQueryTime(int maxQueryTime)
Specifies the maximum time that a query is allowed to run.
|
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
public void setMaxQueryTime(int maxQueryTime)
Query
QueryInterruptedException
s.setMaxQueryTime
in interface Query
maxQueryTime
- The maximum query time, measured in seconds. A negative or zero
value indicates an unlimited query time (which is the default).public int getMaxQueryTime()
Query
getMaxQueryTime
in interface Query
Query.setMaxQueryTime(int)
Copyright © 2001-2016 Aduna. All Rights Reserved.