|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvirtuoso.sesame2.driver.VirtuosoQuery
public class VirtuosoQuery
| Constructor Summary | |
|---|---|
VirtuosoQuery()
|
|
| Method Summary | |
|---|---|
void |
clearBindings()
Removes all previously set bindings. |
org.openrdf.query.BindingSet |
getBindings()
Retrieves the bindings that have been set on this query. |
org.openrdf.query.Dataset |
getDataset()
Gets the dataset that has been set using setDataset(Dataset), if
any. |
boolean |
getIncludeInferred()
Returns whether or not this query will return inferred statements (if any are present in the repository). |
int |
getMaxQueryTime()
Returns the maximum query evaluation time. |
void |
removeBinding(java.lang.String name)
Removes a previously set binding on the supplied variable. |
void |
setBinding(java.lang.String name,
org.openrdf.model.Value value)
Binds the specified variable to the supplied value. |
void |
setDataset(org.openrdf.query.Dataset dataset)
Specifies the dataset against which to evaluate a query, overriding any dataset that is specified in the query itself. |
void |
setIncludeInferred(boolean includeInferred)
Determine whether evaluation results of this query should include inferred statements (if any inferred statements are present in the repository). |
void |
setMaxQueryTime(int maxQueryTime)
Specifies the maximum time that a query is allowed to run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VirtuosoQuery()
| Method Detail |
|---|
public void setBinding(java.lang.String name,
org.openrdf.model.Value value)
setBinding in interface org.openrdf.query.Queryname - The name of the variable that should be bound.value - The (new) value for the specified variable.public void removeBinding(java.lang.String name)
removeBinding in interface org.openrdf.query.Queryname - The name of the variable from which the binding is to be removed.public void clearBindings()
clearBindings in interface org.openrdf.query.Querypublic org.openrdf.query.BindingSet getBindings()
getBindings in interface org.openrdf.query.QuerysetBinding(String, Value)public void setDataset(org.openrdf.query.Dataset dataset)
setDataset in interface org.openrdf.query.Querypublic org.openrdf.query.Dataset getDataset()
setDataset(Dataset), if
any.
getDataset in interface org.openrdf.query.Querypublic void setIncludeInferred(boolean includeInferred)
setIncludeInferred in interface org.openrdf.query.QueryincludeInferred - indicates whether inferred statements should included in the
result.public boolean getIncludeInferred()
getIncludeInferred in interface org.openrdf.query.Querypublic void setMaxQueryTime(int maxQueryTime)
QueryInterruptedExceptions.
setMaxQueryTime in interface org.openrdf.query.QuerymaxQueryTime - 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.QuerymaxQueryTime
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||