Class GenericLocalSearchResultProvider
java.lang.Object
tools.refinery.interpreter.localsearch.matcher.integration.AbstractLocalSearchResultProvider
tools.refinery.interpreter.localsearch.matcher.integration.GenericLocalSearchResultProvider
- All Implemented Interfaces:
IQueryResultProvider
- Since:
- 1.7
-
Field Summary
Fields inherited from class AbstractLocalSearchResultProvider
backend, backendContext, hintCache, planProvider, query, resultProviderRequestor, runtimeContext, searchContext, userHints -
Constructor Summary
ConstructorsConstructorDescriptionGenericLocalSearchResultProvider(LocalSearchBackend backend, IQueryBackendContext context, PQuery query, IPlanProvider planProvider, QueryEvaluationHint userHints) -
Method Summary
Modifier and TypeMethodDescriptionprotected IOperationCompilergetOperationCompiler(IQueryBackendContext backendContext, LocalSearchHints configuration) protected voidThis method is called before planning start to allow indexing.Methods inherited from class AbstractLocalSearchResultProvider
addUpdateListener, countMatches, countMatches, estimateAverageBucketSize, estimateCardinality, estimateCost, forgetAllPlans, getAllMatches, getAllMatches, getCapabilites, getOneArbitraryMatch, getOneArbitraryMatch, getQueryBackend, getSearchPlan, hasMatch, hasMatch, indexReferredTypesOfQuery, newLocalSearchMatcher, newLocalSearchMatcher, prepare, prepareDirectDependencies, preparePlansForExpectedAdornments, removeUpdateListener
-
Constructor Details
-
GenericLocalSearchResultProvider
public GenericLocalSearchResultProvider(LocalSearchBackend backend, IQueryBackendContext context, PQuery query, IPlanProvider planProvider, QueryEvaluationHint userHints) - Throws:
InterpreterRuntimeException
-
-
Method Details
-
indexInitializationBeforePlanning
protected void indexInitializationBeforePlanning()Description copied from class:AbstractLocalSearchResultProviderThis method is called before planning start to allow indexing. It is important to note that this method is called inside a coalesceTraversals block, meaning (1) it is safe to add multiple registration requests as necessary, but (2) no value or statistics is available from the index.- Overrides:
indexInitializationBeforePlanningin classAbstractLocalSearchResultProvider
-
getOperationCompiler
protected IOperationCompiler getOperationCompiler(IQueryBackendContext backendContext, LocalSearchHints configuration) - Specified by:
getOperationCompilerin classAbstractLocalSearchResultProvider
-