Class LocalSearchHints
java.lang.Object
tools.refinery.interpreter.localsearch.matcher.integration.LocalSearchHints
- All Implemented Interfaces:
IMatcherCapability
Type safe builder and extractor for Local search specific hints
- Since:
- 1.4
-
Method Summary
Modifier and TypeMethodDescriptionbuild()build(QueryEvaluationHint overridingHint) booleancanBeSubstitute(IMatcherCapability capability) static LocalSearchHintscustomizeAdornmentProvider(IAdornmentProvider adornmentProvider) static LocalSearchHintsstatic LocalSearchHintscustomizeCostFunction(ICostFunction costFunction) static LocalSearchHintsstatic LocalSearchHintscustomizeRowCount(int rowCount) static LocalSearchHintscustomizeTraceCollector(IRewriterTraceCollector traceCollector) static LocalSearchHintscustomizeUseBase(boolean useBase) static LocalSearchHintsDefault settings which are considered the most safe, providing a reasonable performance for most of the cases.static LocalSearchHintsInitializes the generic (not EMF specific) search backend with the default settingsstatic LocalSearchHintsInitializes the generic (not EMF specific) search backend with hybrid-enabled settingsstatic LocalSearchHintsInitializes the default search backend with hybrid-enabled settingsstatic LocalSearchHintsgetDefaultOverriddenBy(QueryEvaluationHint overridingHint) Return the default settings overridden by the given hintsbooleanstatic LocalSearchHintsparse(QueryEvaluationHint hint) setAdornmentProvider(IAdornmentProvider adornmentProvider) setCallDelegationStrategy(ICallDelegationStrategy callDelegationStrategy) setConsultSurrogates(boolean consultSurrogates) setCostFunction(ICostFunction costFunction) setFlattenCallPredicate(IFlattenCallPredicate flattenCallPredicate) setRowCount(int rowCount) setTraceCollector(IRewriterTraceCollector traceCollector) setUseBase(boolean useBase)
-
Method Details
-
getDefaultOverriddenBy
Return the default settings overridden by the given hints -
getDefault
Default settings which are considered the most safe, providing a reasonable performance for most of the cases. Assumes the availability of the base indexer. -
getDefaultGeneric
Initializes the generic (not EMF specific) search backend with the default settings- Since:
- 1.7
-
getDefaultHybrid
Initializes the default search backend with hybrid-enabled settings- Since:
- 2.1
-
getDefaultGenericHybrid
Initializes the generic (not EMF specific) search backend with hybrid-enabled settings- Since:
- 2.1
-
parse
-
build
-
build
- Since:
- 1.7
-
isConsultSurrogates
- Since:
- 2.9
-
isUseBase
public boolean isUseBase() -
getCostFunction
-
getFlattenCallPredicate
-
getCallDelegationStrategy
- Since:
- 2.1
-
getRowCount
-
getAdornmentProvider
- Since:
- 1.5
-
getTraceCollector
- Since:
- 1.6
-
setConsultSurrogates
- Since:
- 2.9
-
setUseBase
-
setRowCount
-
setCostFunction
-
setFlattenCallPredicate
-
setCallDelegationStrategy
- Since:
- 2.1
-
setTraceCollector
- Since:
- 1.6
-
setAdornmentProvider
- Since:
- 1.5
-
customizeUseBase
-
customizeRowCount
-
customizeCostFunction
-
customizeFlattenCallPredicate
-
customizeCallDelegationStrategy
- Since:
- 2.1
-
customizeAdornmentProvider
- Since:
- 1.5
-
customizeTraceCollector
- Since:
- 1.6
-
canBeSubstitute
- Specified by:
canBeSubstitutein interfaceIMatcherCapability
-