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, wait
createEvaluationStrategy
public void setQuerySolutionCacheThreshold(long threshold)
EvaluationStrategyFactory
EvaluationStrategy
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 EvaluationStrategyFactory
threshold
- the number of query solutions that the EvaluationStrategy can cache in main memory before
attempting disk sync.public long getQuerySolutionCacheThreshold()
EvaluationStrategyFactory
EvaluationStrategy
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 EvaluationStrategyFactory
public void setOptimizerPipeline(QueryOptimizerPipeline pipeline)
EvaluationStrategyFactory
QueryOptimizerPipeline
to be used for query execution planning by the EvaluationStrategy
.setOptimizerPipeline
in interface EvaluationStrategyFactory
pipeline
- a QueryOptimizerPipeline
public Optional<QueryOptimizerPipeline> getOptimizerPipeline()
EvaluationStrategyFactory
QueryOptimizerPipeline
that this factory will inject into the EvaluationStrategy
, if any.
If no QueryOptimizerPipeline
is defined, the EvaluationStrategy
itself determines the pipeline.getOptimizerPipeline
in interface EvaluationStrategyFactory
QueryOptimizerPipeline
, or Optional.empty()
if no pipeline is set on this factory.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.