Class DefaultSchedulerFactory
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.DefaultSchedulerFactory
- All Implemented Interfaces:
SchedulerFactory
The default
SchedulerFactory-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateJoinScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerSchedulerfor regular joins (e.g., the sub-queries generated as part of bind joins)createLeftJoinScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerSchedulerfor left joins (e.g., the sub-queries generated as part of left bind joins, i.e.createUnionScheduler(FederationContext federationContext, int nWorkers) Create aControlledWorkerSchedulerfor 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:SchedulerFactoryCreate aControlledWorkerSchedulerfor regular joins (e.g., the sub-queries generated as part of bind joins)- Specified by:
createJoinSchedulerin interfaceSchedulerFactory- Returns:
- See Also:
-
createUnionScheduler
public ControlledWorkerScheduler<BindingSet> createUnionScheduler(FederationContext federationContext, int nWorkers) Description copied from interface:SchedulerFactoryCreate aControlledWorkerSchedulerfor unions (e.g., for executing UNION operands in parallel)- Specified by:
createUnionSchedulerin interfaceSchedulerFactory- Returns:
-
createLeftJoinScheduler
public ControlledWorkerScheduler<BindingSet> createLeftJoinScheduler(FederationContext federationContext, int nWorkers) Description copied from interface:SchedulerFactoryCreate aControlledWorkerSchedulerfor left joins (e.g., the sub-queries generated as part of left bind joins, i.e. OPTIONAL)- Specified by:
createLeftJoinSchedulerin interfaceSchedulerFactory- Returns:
- See Also:
-