|
|||||||||
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.Query
name
- 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.Query
name
- The name of the variable from which the binding is to be removed.public void clearBindings()
clearBindings
in interface org.openrdf.query.Query
public org.openrdf.query.BindingSet getBindings()
getBindings
in interface org.openrdf.query.Query
setBinding(String, Value)
public void setDataset(org.openrdf.query.Dataset dataset)
setDataset
in interface org.openrdf.query.Query
public org.openrdf.query.Dataset getDataset()
setDataset(Dataset)
, if
any.
getDataset
in interface org.openrdf.query.Query
public void setIncludeInferred(boolean includeInferred)
setIncludeInferred
in interface org.openrdf.query.Query
includeInferred
- indicates whether inferred statements should included in the
result.public boolean getIncludeInferred()
getIncludeInferred
in interface org.openrdf.query.Query
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |