public class FuzzySearchQueryBuilder extends java.lang.Object implements IFuzzySearchQuery
FuzzySearchQuery.| Constructor and Description |
|---|
FuzzySearchQueryBuilder(java.lang.String term) |
| Modifier and Type | Method and Description |
|---|---|
FuzzySearchQuery |
build()
Creates new instance of
FuzzySearchQuery |
static FuzzySearchQueryBuilder |
create(java.lang.String term)
Builder used to create an instance of
FuzzySearchQuery, once constructed, the user cannot change the field values |
FuzzySearchQueryBuilder |
withBoundingBox(com.tomtom.online.sdk.common.location.BoundingBox boundingBox)
The bounding box for the search.
|
FuzzySearchQueryBuilder |
withBrandSet(java.lang.String brandSet)
A comma-separated list of brand names which could be used to restrict the result to Points Of Interest of specific brands.
|
FuzzySearchQueryBuilder |
withCategory(java.lang.Boolean category)
If your search use case only requires POI results filtered by category, you may use the Category endpoint.
|
FuzzySearchQueryBuilder |
withCountry(java.lang.String country)
A comma-separated string of country codes (e.g., FR,ES).
|
FuzzySearchQueryBuilder |
withEVConnectorSetFilter(java.lang.String EVConnectorSetFilter)
A comma-separated list of connector types which could be used to restrict the result to Points Of Interest
of type Electric Vehicle Station, supporting specific connector types.
|
FuzzySearchQueryBuilder |
withExtendedPostalCodes(java.lang.String extendedPostalCodes)
Indexes for which extended postal codes should be included in the results.
|
FuzzySearchQueryBuilder |
withGeopoliticalView(java.lang.String geopoliticalView) |
FuzzySearchQueryBuilder |
withIdx(java.lang.String idx)
A comma-separated list of indexes which should be utilized for the search.
|
FuzzySearchQueryBuilder |
withLanguage(java.lang.String language)
The language in which search results should be returned.
|
FuzzySearchQueryBuilder |
withLimit(java.lang.Integer limit)
The upper limit of the number of results.
|
FuzzySearchQueryBuilder |
withMaxFuzzyLevel(java.lang.Integer maxFuzzyLevel)
The maximum fuzzyness level to be used.
|
FuzzySearchQueryBuilder |
withMinFuzzyLevel(java.lang.Integer minFuzzyLevel)
The minimum fuzzyness level to be used.
|
FuzzySearchQueryBuilder |
withOffset(java.lang.Integer offset)
The starting offset of the returned results within the full result set.
|
FuzzySearchQueryBuilder |
withPosition(LatLng position)
The position where results should be biased.
|
FuzzySearchQueryBuilder |
withPreciseness(com.tomtom.online.sdk.common.location.LatLngAcc preciseness)
The position where results should be biased.
|
FuzzySearchQueryBuilder |
withTypeAhead(java.lang.Boolean typeAhead)
If the "typeahead" flag is set, the query will be interpreted as a partial input and the search will enter predictive mode.
|
public FuzzySearchQueryBuilder withLimit(java.lang.Integer limit)
IFuzzySearchQuerywithLimit in interface IFuzzySearchQuerylimit - The upper limit of the number of results.public FuzzySearchQueryBuilder withOffset(java.lang.Integer offset)
IFuzzySearchQuerywithOffset in interface IFuzzySearchQueryoffset - The starting offset of the returned results within the full result set.public FuzzySearchQueryBuilder withPosition(LatLng position)
IFuzzySearchQuerywithPosition in interface IFuzzySearchQueryposition - The position where results should be biased.public FuzzySearchQueryBuilder withPreciseness(com.tomtom.online.sdk.common.location.LatLngAcc preciseness)
IFuzzySearchQuerywithPreciseness in interface IFuzzySearchQuerypreciseness - The position where results should be biased. Position with accuracy is in meters.public FuzzySearchQueryBuilder withCountry(java.lang.String country)
IFuzzySearchQuerywithCountry in interface IFuzzySearchQuerypublic FuzzySearchQueryBuilder withExtendedPostalCodes(java.lang.String extendedPostalCodes)
IFuzzySearchQuerywithExtendedPostalCodes in interface IFuzzySearchQueryextendedPostalCodes - The string with postal codes.public FuzzySearchQueryBuilder withIdx(java.lang.String idx)
IFuzzySearchQuerywithIdx in interface IFuzzySearchQueryidx - The indexes to be utilized for the search.public FuzzySearchQueryBuilder withBoundingBox(com.tomtom.online.sdk.common.location.BoundingBox boundingBox)
IFuzzySearchQuerywithBoundingBox in interface IFuzzySearchQueryboundingBox - The top-left position of the bounding box and bottom-right position of the bounding box.public FuzzySearchQueryBuilder withTypeAhead(java.lang.Boolean typeAhead)
IFuzzySearchQuerywithTypeAhead in interface IFuzzySearchQuerytypeAhead - Determines whether the predictive mode is enabled.public FuzzySearchQueryBuilder withCategory(java.lang.Boolean category)
IFuzzySearchQuerywithCategory in interface IFuzzySearchQuerycategory - Determines whether the Category Search is enabled.public FuzzySearchQueryBuilder withBrandSet(java.lang.String brandSet)
IFuzzySearchQuerywithBrandSet in interface IFuzzySearchQuerybrandSet - A comma-separated list of brand names.public FuzzySearchQueryBuilder withLanguage(java.lang.String language)
IFuzzySearchQuerywithLanguage in interface IFuzzySearchQuerylanguage - The language in which search results should be returned.public FuzzySearchQueryBuilder withEVConnectorSetFilter(java.lang.String EVConnectorSetFilter)
IFuzzySearchQuerywithEVConnectorSetFilter in interface IFuzzySearchQueryEVConnectorSetFilter - A comma-separated list of connector types.public FuzzySearchQueryBuilder withMinFuzzyLevel(java.lang.Integer minFuzzyLevel)
IFuzzySearchQuerywithMinFuzzyLevel in interface IFuzzySearchQueryminFuzzyLevel - The minimum fuzzyness level to be used.public FuzzySearchQueryBuilder withMaxFuzzyLevel(java.lang.Integer maxFuzzyLevel)
IFuzzySearchQuerywithMaxFuzzyLevel in interface IFuzzySearchQuerymaxFuzzyLevel - The maximum fuzzyness level to be used.public FuzzySearchQueryBuilder withGeopoliticalView(java.lang.String geopoliticalView)
public static FuzzySearchQueryBuilder create(java.lang.String term)
FuzzySearchQuery, once constructed, the user cannot change the field valuesFuzzySearchQuery to be used for further processingpublic FuzzySearchQuery build()
FuzzySearchQuery