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)
Comma separated string of country codes (eg: 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)
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)
Maximum fuzzyness level to be used.
|
FuzzySearchQueryBuilder |
withMinFuzzyLevel(java.lang.Integer minFuzzyLevel)
Minimum fuzzyness level to be used.
|
FuzzySearchQueryBuilder |
withOffset(java.lang.Integer offset)
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)
IFuzzySearchQuery
withLimit
in interface IFuzzySearchQuery
limit
- upper limit of the number of results.public FuzzySearchQueryBuilder withOffset(java.lang.Integer offset)
IFuzzySearchQuery
withOffset
in interface IFuzzySearchQuery
offset
- starting offset of the returned results within the full result set.public FuzzySearchQueryBuilder withPosition(LatLng position)
IFuzzySearchQuery
withPosition
in interface IFuzzySearchQuery
position
- position where results should be biased.public FuzzySearchQueryBuilder withPreciseness(com.tomtom.online.sdk.common.location.LatLngAcc preciseness)
IFuzzySearchQuery
withPreciseness
in interface IFuzzySearchQuery
preciseness
- position where results should be biased. Position with accuracy in m.public FuzzySearchQueryBuilder withCountry(java.lang.String country)
IFuzzySearchQuery
withCountry
in interface IFuzzySearchQuery
country
- string with country codes.public FuzzySearchQueryBuilder withExtendedPostalCodes(java.lang.String extendedPostalCodes)
IFuzzySearchQuery
withExtendedPostalCodes
in interface IFuzzySearchQuery
extendedPostalCodes
- string with postal codes.public FuzzySearchQueryBuilder withIdx(java.lang.String idx)
IFuzzySearchQuery
withIdx
in interface IFuzzySearchQuery
idx
- indexes to be utilized for the search.public FuzzySearchQueryBuilder withBoundingBox(com.tomtom.online.sdk.common.location.BoundingBox boundingBox)
IFuzzySearchQuery
withBoundingBox
in interface IFuzzySearchQuery
boundingBox
- top left position of the bounding box and bottom right position of the bounding box.public FuzzySearchQueryBuilder withTypeAhead(java.lang.Boolean typeAhead)
IFuzzySearchQuery
withTypeAhead
in interface IFuzzySearchQuery
typeAhead
- whether the predictive mode is enabled.public FuzzySearchQueryBuilder withCategory(java.lang.Boolean category)
IFuzzySearchQuery
withCategory
in interface IFuzzySearchQuery
category
- whether the category search is enabled.public FuzzySearchQueryBuilder withBrandSet(java.lang.String brandSet)
IFuzzySearchQuery
withBrandSet
in interface IFuzzySearchQuery
brandSet
- A comma-separated list of brand names.public FuzzySearchQueryBuilder withLanguage(java.lang.String language)
IFuzzySearchQuery
withLanguage
in interface IFuzzySearchQuery
language
- language in which search results should be returned.public FuzzySearchQueryBuilder withEVConnectorSetFilter(java.lang.String EVConnectorSetFilter)
IFuzzySearchQuery
withEVConnectorSetFilter
in interface IFuzzySearchQuery
EVConnectorSetFilter
- A comma-separated list of connector types.public FuzzySearchQueryBuilder withMinFuzzyLevel(java.lang.Integer minFuzzyLevel)
IFuzzySearchQuery
withMinFuzzyLevel
in interface IFuzzySearchQuery
minFuzzyLevel
- minimum fuzzyness level to be used.public FuzzySearchQueryBuilder withMaxFuzzyLevel(java.lang.Integer maxFuzzyLevel)
IFuzzySearchQuery
withMaxFuzzyLevel
in interface IFuzzySearchQuery
maxFuzzyLevel
- 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