public class SearchIndexQueryContextInitializer extends Object implements QueryContextInitializer
Constructor and Description |
---|
SearchIndexQueryContextInitializer(SearchIndex searchIndex) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(QueryContext qctx)
Called before a QueryContext has ended.
|
static SearchIndex |
getSearchIndex(QueryContext qctx) |
void |
init(QueryContext qctx)
Called after a QueryContext has begun.
|
static void |
init(QueryContext qctx,
SearchIndex searchIndex) |
public SearchIndexQueryContextInitializer(SearchIndex searchIndex)
public static void init(QueryContext qctx, SearchIndex searchIndex)
public static SearchIndex getSearchIndex(QueryContext qctx)
public void init(QueryContext qctx)
QueryContextInitializer
init
in interface QueryContextInitializer
public void destroy(QueryContext qctx)
QueryContextInitializer
destroy
in interface QueryContextInitializer
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.