Interface QueryExecBuilder

All Superinterfaces:
QueryExecMod
All Known Implementing Classes:
QueryExecBuilderAdapter, QueryExecDatasetBuilder, QueryExecHTTPBuilder

public interface QueryExecBuilder extends QueryExecMod
The common elements of a QueryExec builder.
  • Method Details

    • query

      QueryExecBuilder query(Query query)
      Set the query.
    • query

      QueryExecBuilder query(String queryString)
      Set the query.
    • query

      QueryExecBuilder query(String queryString, Syntax syntax)
      Set the query.
    • parseCheck

      QueryExecBuilder parseCheck(boolean parseCheck)
      Hint whether to immediately parse query strings passed to query(String)
    • set

      QueryExecBuilder set(Symbol symbol, Object value)
      Set a context entry.
    • set

      QueryExecBuilder set(Symbol symbol, boolean value)
      Set a context entry.
    • context

      QueryExecBuilder context(Context context)
      Set the context. If not set, defaults to the system context (ARQ.getContext()).
    • substitution

      QueryExecBuilder substitution(Binding binding)
      Provide a set of (Var, Node) for substitution in the query when QueryExec is built.
    • substitution

      QueryExecBuilder substitution(Var var, org.apache.jena.graph.Node value)
      Provide a (Var, Node) for substitution in the query when QueryExec is built.
    • substitution

      default QueryExecBuilder substitution(String var, org.apache.jena.graph.Node value)
      Provide a (var name, Node) for substitution in the query when QueryExec is built.
    • timeout

      QueryExecBuilder timeout(long value, TimeUnit timeUnit)
      Set the overall query execution timeout.
      Specified by:
      timeout in interface QueryExecMod
    • build

      QueryExec build()
      Build the QueryExec. Further changes to he builder do not affect this QueryExec.
      Specified by:
      build in interface QueryExecMod
    • select

      default RowSet select()
      Build and execute as a SELECT query.
    • construct

      default org.apache.jena.graph.Graph construct()
      Build and execute as a CONSTRUCT query.
    • describe

      default org.apache.jena.graph.Graph describe()
      Build and execute as a CONSTRUCT query.
    • ask

      default boolean ask()
      Build and execute as an ASK query.