Interface UpdateQuery

  • All Superinterfaces:
    Query<java.lang.Void>

    public interface UpdateQuery
    extends Query<java.lang.Void>

    A SPARQL Update query

    Since:
    2.0
    Version:
    5.0
    Author:
    Michael Grove
    • 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 calling reasoning(true) will have no effect. If the schema is not set then calling reasoning(true) is equivalent to setting the schema to the default schema. Calling reasoning(false) is always equivalent to setting the schema to the null schema.

        Specified by:
        reasoning in interface Query<java.lang.Void>
        Parameters:
        theReasoningFlag - the reasoning flag
        Returns:
        this query