public class VirtuosoQuery extends VirtuosoOperation implements org.openrdf.query.Query
Constructor and Description |
---|
VirtuosoQuery() |
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, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
public void setMaxQueryTime(int maxQueryTime)
QueryInterruptedException
s.setMaxQueryTime
in interface org.openrdf.query.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()
getMaxQueryTime
in interface org.openrdf.query.Query
#maxQueryTime