Package org.eclipse.rdf4j.federated.evaluation

## Class FederationEvaluationStrategyFactory

- java.lang.Object
- - org.eclipse.rdf4j.federated.evaluation.FederationEvaluationStrategyFactory

-     public class FederationEvaluationStrategyFactory
      extends Object

  Factory class for retrieving the `FederationEvalStrategy` to be used
  Author:
    Andreas Schwarte

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FederationEvaluationStrategyFactory()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static FederationEvalStrategy` | `getEvaluationStrategy​(FederationManager.FederationType federationType, FederationContext federationContext)` | Return an instance of `FederationEvalStrategy` which is used for evaluating the query.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FederationEvaluationStrategyFactory

          public FederationEvaluationStrategyFactory()

  - ### Method Detail

    - #### getEvaluationStrategy

          public static FederationEvalStrategy getEvaluationStrategy​(FederationManager.FederationType federationType,
                                                                     FederationContext federationContext)

      Return an instance of `FederationEvalStrategy` which is used for evaluating the query. The type depends on the `FederationManager.FederationType` as well as on the actual implementations given by the configuration, in particular this is `FedXConfig.getSailEvaluationStrategy()` and `FedXConfig.getSPARQLEvaluationStrategy()`.
      Parameters:
        `federationType` -
        `federationContext` -
      Returns:
        the `FederationEvalStrategy`