sdk-search / com.tomtom.online.sdk.search.data.batch / BatchSearchQueryBuilder

BatchSearchQueryBuilder

class BatchSearchQueryBuilder : IBatchSearchQuery

Builder class used to create queries for the Batch Search service BatchSearchQuery.

Constructors

<init>

BatchSearchQueryBuilder()

Builder class used to create queries for the Batch Search service BatchSearchQuery.

Functions

build

fun build(): BatchSearchQuery

Creates new instance of BatchSearchQuery.

withEvChargingStationsAvailabilityQuery

fun withEvChargingStationsAvailabilityQuery(evChargingStationsAvailabilityQuery: EvChargingStationsAvailabilityQuery): BatchSearchQueryBuilder

Adds a EvChargingStationsAvailabilityQuery to this query.

withEvChargingStationsAvailabilityQuerys

fun withEvChargingStationsAvailabilityQuerys(evChargingStationsAvailabilityQuerys: MutableList<EvChargingStationsAvailabilityQuery>): BatchSearchQueryBuilder

Adds a list of EvChargingStationsAvailabilityQuery to this query.

withFuzzySearchQuery

fun withFuzzySearchQuery(fuzzySearchQuery: FuzzySearchQuery): BatchSearchQueryBuilder

Adds a FuzzySearchQuery to this query.

withFuzzySearchQuerys

fun withFuzzySearchQuerys(fuzzySearchQuerys: MutableList<FuzzySearchQuery>): BatchSearchQueryBuilder

Adds a list of FuzzySearchQuery to this query.

withGeometrySearchQuery

fun withGeometrySearchQuery(geometrySearchQuery: GeometrySearchQuery): BatchSearchQueryBuilder

Adds a GeometrySearchQuery to this query.

withGeometrySearchQuerys

fun withGeometrySearchQuerys(geometrySearchQuerys: MutableList<GeometrySearchQuery>): BatchSearchQueryBuilder

Adds a list of GeometrySearchQuery to this query.

withReverseGeocoderSearchQuery

fun withReverseGeocoderSearchQuery(reverseGeocoderSearchQuery: ReverseGeocoderSearchQuery): BatchSearchQueryBuilder

Adds a ReverseGeocoderSearchQuery to this query.

withReverseGeocoderSearchQuerys

fun withReverseGeocoderSearchQuerys(reverseGeocoderSearchQuerys: MutableList<ReverseGeocoderSearchQuery>): BatchSearchQueryBuilder

Adds a list of ReverseGeocoderSearchQuery to this query.

Companion Object Functions

create

fun create(): BatchSearchQueryBuilder

Builder used to create an instance of BatchSearchQuery, once constructed, the user cannot change the field values.