Class HeFQUINEngineImpl
java.lang.Object
se.liu.ida.hefquin.engine.HeFQUINEngineImpl
- All Implemented Interfaces:
 HeFQUINEngine
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FederationAccessManagerprotected final QueryProcessor - 
Constructor Summary
ConstructorsConstructorDescriptionHeFQUINEngineImpl(FederationAccessManager fedAccessMgr, QueryProcessor qProc)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteNonSelectQuery(org.apache.jena.query.QueryExecution qe, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) 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).protected voidexecuteSelectQuery(org.apache.jena.query.QueryExecution qe, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) voidCall this one after the engine has been created.voidshutdown()Shuts down the relevant components used by this engine, such as the federation access manager and the query processor component.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.HeFQUINEngine
executeQuery, executeQuery, executeQuery 
- 
Field Details
- 
fedAccessMgr
 - 
qProc
 
 - 
 - 
Constructor Details
- 
HeFQUINEngineImpl
 
 - 
 - 
Method Details
- 
integrateIntoJena
public void integrateIntoJena()Description copied from interface:HeFQUINEngineCall this one after the engine has been created.- Specified by:
 integrateIntoJenain interfaceHeFQUINEngine
 - 
getFederationAccessStats
- Specified by:
 getFederationAccessStatsin interfaceHeFQUINEngine
 - 
executeQuery
public Pair<QueryProcStats,List<Exception>> executeQuery(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) throws UnsupportedQueryException, IllegalQueryException Description copied from interface:HeFQUINEngineExecutes 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). AnUnsupportedQueryExceptionis 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. AnIllegalQueryExceptionis thrown if the given query is invalid; the message of the exception describes the issue and can be passed directly to the user.- Specified by:
 executeQueryin interfaceHeFQUINEngine- Throws:
 UnsupportedQueryExceptionIllegalQueryException
 - 
executeSelectQuery
protected void executeSelectQuery(org.apache.jena.query.QueryExecution qe, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) throws Exception - Throws:
 Exception
 - 
executeNonSelectQuery
protected void executeNonSelectQuery(org.apache.jena.query.QueryExecution qe, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output) throws Exception - Throws:
 Exception
 - 
shutdown
public void shutdown()Description copied from interface:HeFQUINEngineShuts down the relevant components used by this engine, such as the federation access manager and the query processor component.- Specified by:
 shutdownin interfaceHeFQUINEngine
 
 -