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