Interface HeFQUINEngine
-
Method Summary
Modifier and TypeMethodDescriptiondefault Pair
<QueryProcStats, List<Exception>> 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).default Pair
<QueryProcStats, List<Exception>> 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).default Pair
<QueryProcStats, List<Exception>> 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). AnUnsupportedQueryException
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. AnIllegalQueryException
is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user. -
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). AnUnsupportedQueryException
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. AnIllegalQueryException
is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user. -
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). AnUnsupportedQueryException
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. AnIllegalQueryException
is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user. -
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). AnUnsupportedQueryException
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. AnIllegalQueryException
is thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user. -
getFederationAccessStats
FederationAccessStats getFederationAccessStats()
-