Interface HeFQUINEngine

All Known Implementing Classes:
HeFQUINEngineImpl

public interface HeFQUINEngine
  • Method Summary

    Modifier and Type
    Method
    Description
    executeQuery(org.apache.jena.query.Query query)
    Executes the given query, prints the result in text format to stdout, and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any).
    executeQuery(org.apache.jena.query.Query query, PrintStream output)
    Executes the given query, prints the result in text format to the given output, and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any).
    executeQuery(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat)
    Executes the given query, prints the result to stdout (in the given format), and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any).
    executeQuery(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output)
    Executes the given query, prints the result to the given output (in the given format), and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any).
     
    void
    Call this one after the engine has been created.
  • Method Details

    • integrateIntoJena

      void integrateIntoJena()
      Call this one after the engine has been created.
    • executeQuery

      Pair<QueryProcStats,List<Exception>> executeQuery(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) throws UnsupportedQueryException, IllegalQueryException
      Executes the given query, prints the result to the given output (in the given format), and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any). An UnsupportedQueryException is thrown if the given query uses features that are not supported by HeFQUIN; the message of the exception describes the specific limitation and can be passed directly to the user. An IllegalQueryException is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user.
      Throws:
      UnsupportedQueryException
      IllegalQueryException
    • executeQuery

      default Pair<QueryProcStats,List<Exception>> executeQuery(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat) throws UnsupportedQueryException, IllegalQueryException
      Executes the given query, prints the result to stdout (in the given format), and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any). An UnsupportedQueryException is thrown if the given query uses features that are not supported by HeFQUIN; the message of the exception describes the specific limitation and can be passed directly to the user. An IllegalQueryException is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user.
      Throws:
      UnsupportedQueryException
      IllegalQueryException
    • executeQuery

      default Pair<QueryProcStats,List<Exception>> executeQuery(org.apache.jena.query.Query query, PrintStream output) throws UnsupportedQueryException, IllegalQueryException
      Executes the given query, prints the result in text format to the given output, and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any). An UnsupportedQueryException is thrown if the given query uses features that are not supported by HeFQUIN; the message of the exception describes the specific limitation and can be passed directly to the user. An IllegalQueryException is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user.
      Throws:
      UnsupportedQueryException
      IllegalQueryException
    • executeQuery

      default Pair<QueryProcStats,List<Exception>> executeQuery(org.apache.jena.query.Query query) throws UnsupportedQueryException, IllegalQueryException
      Executes the given query, prints the result in text format to stdout, and returns a statistics collected during the query execution process, together with a list of exception that were caught during query execution (if any). An UnsupportedQueryException is thrown if the given query uses features that are not supported by HeFQUIN; the message of the exception describes the specific limitation and can be passed directly to the user. An IllegalQueryException is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user.
      Throws:
      UnsupportedQueryException
      IllegalQueryException
    • getFederationAccessStats

      FederationAccessStats getFederationAccessStats()