public abstract class AbstractEvaluationStrategyFactory extends Object implements EvaluationStrategyFactory
ExtendedEvaluationStrategy.| Constructor and Description |
|---|
AbstractEvaluationStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
Optional<QueryOptimizerPipeline> |
getOptimizerPipeline()
Get the
QueryOptimizerPipeline that this factory will inject into the EvaluationStrategy, if any. |
long |
getQuerySolutionCacheThreshold()
Get the number of query solutions the
EvaluationStrategy will keep in main memory before it attempts to
sync to a temporary disk cache. |
void |
setOptimizerPipeline(QueryOptimizerPipeline pipeline)
Set a
QueryOptimizerPipeline to be used for query execution planning by the EvaluationStrategy. |
void |
setQuerySolutionCacheThreshold(long threshold)
Set the number of query solutions the
EvaluationStrategy will keep in main memory before it attempts to
sync to a temporary disk cache. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEvaluationStrategypublic void setQuerySolutionCacheThreshold(long threshold)
EvaluationStrategyFactoryEvaluationStrategy will keep in main memory before it attempts to
sync to a temporary disk cache. If set to 0, no disk caching will occur. EvaluationStrategies that provide no
disk caching functionality are free to ignore this parameter.setQuerySolutionCacheThreshold in interface EvaluationStrategyFactorythreshold - the number of query solutions that the EvaluationStrategy can cache in main memory before
attempting disk sync.public long getQuerySolutionCacheThreshold()
EvaluationStrategyFactoryEvaluationStrategy will keep in main memory before it attempts to
sync to a temporary disk cache. If set to 0, no disk caching will occur. EvaluationStrategies that provide no
disk caching functionality are free to ignore this parameter.getQuerySolutionCacheThreshold in interface EvaluationStrategyFactorypublic void setOptimizerPipeline(QueryOptimizerPipeline pipeline)
EvaluationStrategyFactoryQueryOptimizerPipeline to be used for query execution planning by the EvaluationStrategy.setOptimizerPipeline in interface EvaluationStrategyFactorypipeline - a QueryOptimizerPipelinepublic Optional<QueryOptimizerPipeline> getOptimizerPipeline()
EvaluationStrategyFactoryQueryOptimizerPipeline that this factory will inject into the EvaluationStrategy, if any.
If no QueryOptimizerPipeline is defined, the EvaluationStrategy itself determines the pipeline.getOptimizerPipeline in interface EvaluationStrategyFactoryQueryOptimizerPipeline, or Optional.empty() if no pipeline is set on this factory.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.