public class FuzzySearchQueryBuilder extends java.lang.Object implements FuzzySearchQuery
FuzzySearchQuery.| Constructor and Description |
|---|
FuzzySearchQueryBuilder(java.lang.String term) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes the FuzzySearchQuery object which was constructed at native layer
|
long |
getNativeHandle()
Handle of native pointer address
|
FuzzySearchQuery |
withBoundingBox(LatLng topLeft,
LatLng bottomRight)
The boundin box for the search.
|
FuzzySearchQuery |
withCategory(boolean isCategory)
If your search use case only requires POI results filtered by category, you may use the category endpoint.
|
FuzzySearchQuery |
withCountry(java.lang.String country)
Comma separated string of country codes (eg: FR,ES).
|
FuzzySearchQuery |
withExtendedPostalCodes(java.lang.String extendedPostalCodesFor)
Indexes for which extended postal codes should be included in the results.
|
FuzzySearchQuery |
withIdx(java.lang.String idxSet)
A comma separated list of indexes which should be utilized for the search.
|
FuzzySearchQuery |
withLanguage(java.lang.String language)
Language in which search results should be returned.
|
FuzzySearchQuery |
withLimit(int limit)
The upper limit of the number of results.
|
FuzzySearchQuery |
withMaxFuzzyLevel(int maxFuzzyLevel)
Maximum fuzzyness level to be used.
|
FuzzySearchQuery |
withMinFuzzyLevel(int minFuzzyLevel)
Minimum fuzzyness level to be used.
|
FuzzySearchQuery |
withOffset(int offset)
Starting offset of the returned results within the full result set.
|
FuzzySearchQuery |
withPosition(LatLng position)
The position where results should be biased.
|
FuzzySearchQuery |
withPosition(LatLng position,
int radius)
The position where results should be biased.
|
FuzzySearchQuery |
withTypeAhead(boolean isTypeAhead)
If the "typeahead" flag is set, the query will be interpreted as a partial input and the search will enter predictive mode.
|
public long getNativeHandle()
FuzzySearchQuerygetNativeHandle in interface FuzzySearchQuerypublic void dispose()
FuzzySearchQuerydispose in interface FuzzySearchQuerypublic FuzzySearchQuery withLimit(int limit)
FuzzySearchQuerywithLimit in interface FuzzySearchQuerylimit - upper limit of the number of results.public FuzzySearchQuery withOffset(int offset)
FuzzySearchQuerywithOffset in interface FuzzySearchQueryoffset - starting offset of the returned results within the full result set.public FuzzySearchQuery withPosition(LatLng position)
FuzzySearchQuerywithPosition in interface FuzzySearchQueryposition - position where results should be biased.public FuzzySearchQuery withPosition(LatLng position, int radius)
FuzzySearchQuerywithPosition in interface FuzzySearchQueryposition - position where results should be biased.radius - search radius.public FuzzySearchQuery withCountry(java.lang.String country)
FuzzySearchQuerywithCountry in interface FuzzySearchQuerycountry - string with country codes.public FuzzySearchQuery withExtendedPostalCodes(java.lang.String extendedPostalCodesFor)
FuzzySearchQuerywithExtendedPostalCodes in interface FuzzySearchQueryextendedPostalCodesFor - string with postal codes.public FuzzySearchQuery withIdx(java.lang.String idxSet)
FuzzySearchQuerywithIdx in interface FuzzySearchQueryidxSet - indexes to be utilized for the search.public FuzzySearchQuery withBoundingBox(LatLng topLeft, LatLng bottomRight)
FuzzySearchQuerywithBoundingBox in interface FuzzySearchQuerytopLeft - top left position of the bounding box.bottomRight - bottom right position of the bounding box.public FuzzySearchQuery withTypeAhead(boolean isTypeAhead)
FuzzySearchQuerywithTypeAhead in interface FuzzySearchQueryisTypeAhead - whether the predictive mode is enabled.public FuzzySearchQuery withCategory(boolean isCategory)
FuzzySearchQuerywithCategory in interface FuzzySearchQueryisCategory - whether the category search is enabled.public FuzzySearchQuery withLanguage(java.lang.String language)
FuzzySearchQuerywithLanguage in interface FuzzySearchQuerylanguage - language in which search results should be returned.public FuzzySearchQuery withMinFuzzyLevel(int minFuzzyLevel)
FuzzySearchQuerywithMinFuzzyLevel in interface FuzzySearchQueryminFuzzyLevel - minimum fuzzyness level to be used.public FuzzySearchQuery withMaxFuzzyLevel(int maxFuzzyLevel)
FuzzySearchQuerywithMaxFuzzyLevel in interface FuzzySearchQuerymaxFuzzyLevel - maximum fuzzyness level to be used.