Package se.liu.ida.hefquin.engine
Class HeFQUINEngineConfigReader
java.lang.Object
se.liu.ida.hefquin.engine.HeFQUINEngineConfigReader
Reads an RDF description of a configuration for the HeFQUIN engine and
creates a
HeFQUINEngine
object based on this configuration.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
protected static interface
protected class
protected class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryProcContext
createQueryProcContext
(HeFQUINEngineConfigReader.Context ctx, FederationAccessManager fedAccessMgr) protected Object
instantiate
(org.apache.jena.rdf.model.Resource r, HeFQUINEngineConfigReader.ExtendedContext ctx) read
(org.apache.jena.rdf.model.Model m, HeFQUINEngineConfigReader.Context ctx) Creates aHeFQUINEngine
that is configured based on the description in the given RDF model.read
(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.Context ctx) readCostModel
(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readExecutionEngine
(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readFederationAccessManager
(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.Context ctx) readFromFile
(String filename, String uriOfConfRsrc, HeFQUINEngineConfigReader.Context ctx) Creates aHeFQUINEngine
that is configured based on the configuration identified by the given URI in the given RDF file.readFromFile
(String filename, HeFQUINEngineConfigReader.Context ctx) Creates aHeFQUINEngine
that is configured based on the description in the given RDF file.readLogicalOptimizer
(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readPhysicalOptimizer
(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readQueryPlanCompiler
(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readQueryPlanner
(org.apache.jena.rdf.model.Resource queryProcRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readQueryProcessor
(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) readSourcePlanner
(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx)
-
Constructor Details
-
HeFQUINEngineConfigReader
public HeFQUINEngineConfigReader()
-
-
Method Details
-
readFromFile
Creates aHeFQUINEngine
that is configured based on the description in the given RDF file. Assumes that the file describes only one such configuration. -
readFromFile
public HeFQUINEngine readFromFile(String filename, String uriOfConfRsrc, HeFQUINEngineConfigReader.Context ctx) Creates aHeFQUINEngine
that is configured based on the configuration identified by the given URI in the given RDF file. -
read
Creates aHeFQUINEngine
that is configured based on the description in the given RDF model. Assumes that the model describes only one such configuration. -
read
public HeFQUINEngine read(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.Context ctx) -
readFederationAccessManager
public FederationAccessManager readFederationAccessManager(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.Context ctx) -
createDefaultFederationAccessManager
public FederationAccessManager createDefaultFederationAccessManager(HeFQUINEngineConfigReader.Context ctx) -
readQueryProcessor
public QueryProcessor readQueryProcessor(org.apache.jena.rdf.model.Resource confRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readCostModel
public CostModel readCostModel(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readQueryPlanner
public QueryPlanner readQueryPlanner(org.apache.jena.rdf.model.Resource queryProcRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readSourcePlanner
public SourcePlanner readSourcePlanner(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readLogicalOptimizer
public LogicalOptimizer readLogicalOptimizer(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readPhysicalOptimizer
public PhysicalOptimizer readPhysicalOptimizer(org.apache.jena.rdf.model.Resource qplRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readQueryPlanCompiler
public QueryPlanCompiler readQueryPlanCompiler(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
readExecutionEngine
public ExecutionEngine readExecutionEngine(org.apache.jena.rdf.model.Resource qprocRsrc, HeFQUINEngineConfigReader.ExtendedContext ctx) -
createDefaultCostModel
-
createDefaultSourcePlanner
-
createDefaultLogicalOptimizer
public LogicalOptimizer createDefaultLogicalOptimizer(HeFQUINEngineConfigReader.ExtendedContext ctx) -
createDefaultPlanCompiler
-
instantiate
protected Object instantiate(org.apache.jena.rdf.model.Resource r, HeFQUINEngineConfigReader.ExtendedContext ctx) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, InvocationTargetException, IllegalAccessException -
createQueryProcContext
protected QueryProcContext createQueryProcContext(HeFQUINEngineConfigReader.Context ctx, FederationAccessManager fedAccessMgr)
-