Package com.complexible.stardog.api
Interface UpdateQuery
-
-
Field Summary
-
Fields inherited from interface com.complexible.stardog.api.Query
NO_ID, NO_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateQuery
reasoning(boolean theReasoningFlag)
Specify whether you would like the query to be executed with reasoning.-
Methods inherited from interface com.complexible.stardog.api.Query
baseURI, dataset, dataset, execute, explain, explain, explain, getID, getSchema, hint, hints, id, isReasoningEnabled, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameter, parameters, queryString, schema, timeout, timeout, toString
-
-
-
-
Method Detail
-
reasoning
UpdateQuery reasoning(boolean theReasoningFlag)
Specify whether you would like the query to be executed with reasoning. For update queries, the reasoning flag only affects the evaluation of WHERE clauses in DELETE/INSERT queries.
You can only modify the reasoning flag of a query outside of a transaction. If querying within a transaction you can only use the
reasoning flag associated with the connection
.If the reasoning schema is explicitly set via the
Query.schema(String)
function beforehand then callingreasoning(true)
will have no effect. If the schema is not set then callingreasoning(true)
is equivalent to setting the schema to thedefault schema
. Callingreasoning(false)
is always equivalent to setting the schema to thenull schema
.
-
-