Class DefaultSchedulerFactory
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.DefaultSchedulerFactory
-
Field Summary
-
Constructor Summary
-
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)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultSchedulerFactory
public DefaultSchedulerFactory()
-
-
Method Details
-
createJoinScheduler
public ControlledWorkerScheduler<BindingSet> createJoinScheduler(FederationContext federationContext, int nWorkers) Description copied from interface:SchedulerFactory
Create aControlledWorkerScheduler
for regular joins (e.g., the sub-queries generated as part of bind joins)- Specified by:
createJoinScheduler
in interfaceSchedulerFactory
- Parameters:
federationContext
-nWorkers
-- Returns:
- See Also:
-
createUnionScheduler
public ControlledWorkerScheduler<BindingSet> createUnionScheduler(FederationContext federationContext, int nWorkers) Description copied from interface:SchedulerFactory
Create aControlledWorkerScheduler
for unions (e.g., for executing UNION operands in parallel)- Specified by:
createUnionScheduler
in interfaceSchedulerFactory
- Parameters:
federationContext
-nWorkers
-- Returns:
-
createLeftJoinScheduler
public ControlledWorkerScheduler<BindingSet> createLeftJoinScheduler(FederationContext federationContext, int nWorkers) Description copied from interface:SchedulerFactory
Create aControlledWorkerScheduler
for left joins (e.g., the sub-queries generated as part of left bind joins, i.e. OPTIONAL)- Specified by:
createLeftJoinScheduler
in interfaceSchedulerFactory
- Parameters:
federationContext
-nWorkers
-- Returns:
- See Also:
-