@Internal public class DelegatingESQueryMapper extends Object implements ESQueryMapper<SearchQuery>, ESQueryMapperRegistry
Constructor and Description |
---|
DelegatingESQueryMapper() |
Modifier and Type | Method and Description |
---|---|
String |
getQueryKey() |
void |
init() |
org.elasticsearch.index.query.QueryBuilder |
map(SearchQuery query)
Transforms a v2 query into an ES query.
|
void |
register(ESQueryMapper mapper) |
void |
unregister(ESQueryMapper mapper) |
@PostConstruct public void init()
public org.elasticsearch.index.query.QueryBuilder map(SearchQuery query)
ESQueryMapper
map
in interface ESQueryMapper<SearchQuery>
query
- the v2 query to transformpublic String getQueryKey()
getQueryKey
in interface ESQueryMapper<SearchQuery>
public void register(ESQueryMapper mapper)
register
in interface ESQueryMapperRegistry
public void unregister(ESQueryMapper mapper)
unregister
in interface ESQueryMapperRegistry
Copyright © 2003–2017 Atlassian. All rights reserved.