Interface SchedulerFactory
- All Known Implementing Classes:
DefaultSchedulerFactory
public interface SchedulerFactory
Factory for creating
ControlledWorkerScheduler
for executing subqueries (e.g. joins) in the background- Author:
- Andreas Schwarte
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateJoinScheduler
(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for regular joins (e.g., the sub-queries generated as part of bind joins)createLeftJoinScheduler
(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for left joins (e.g., the sub-queries generated as part of left bind joins, i.e.createUnionScheduler
(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for unions (e.g., for executing UNION operands in parallel)
-
Method Details
-
createJoinScheduler
ControlledWorkerScheduler<BindingSet> createJoinScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for regular joins (e.g., the sub-queries generated as part of bind joins)- Parameters:
federationContext
-nWorkers
-- Returns:
- See Also:
-
createUnionScheduler
ControlledWorkerScheduler<BindingSet> createUnionScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for unions (e.g., for executing UNION operands in parallel)- Parameters:
federationContext
-nWorkers
-- Returns:
-
createLeftJoinScheduler
ControlledWorkerScheduler<BindingSet> createLeftJoinScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerScheduler
for left joins (e.g., the sub-queries generated as part of left bind joins, i.e. OPTIONAL)- Parameters:
federationContext
-nWorkers
-- Returns:
- See Also:
-