Interface QueryContextInitializer
-
- All Known Implementing Classes:
SearchIndexQueryContextInitializer
public interface QueryContextInitializer
Callback for configuring/customising aQueryContext
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy(QueryContext ctx)
Called before a QueryContext has ended.void
init(QueryContext ctx)
Called after a QueryContext has begun.
-
-
-
Method Detail
-
init
void init(QueryContext ctx)
Called after a QueryContext has begun.- Parameters:
ctx
-
-
destroy
void destroy(QueryContext ctx)
Called before a QueryContext has ended.- Parameters:
ctx
-
-
-