public class GeometrySearchQuery
extends com.tomtom.online.sdk.common.jni.BaseRequestQuery
GeometrySearchQuery
.Constructor and Description |
---|
GeometrySearchQuery(java.lang.String term,
java.util.List<Geometry> geometries,
java.lang.String language,
java.lang.Integer limit,
java.lang.Boolean typeAhead,
java.lang.String extendedPostalCodesFor,
java.lang.String idxSet,
java.lang.String geopoliticalView)
Creates instance of a geometry search query and initializes proper fields with defined parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getNativeHandle() |
long |
prepare() |
public GeometrySearchQuery(java.lang.String term, java.util.List<Geometry> geometries, java.lang.String language, java.lang.Integer limit, java.lang.Boolean typeAhead, java.lang.String extendedPostalCodesFor, java.lang.String idxSet, java.lang.String geopoliticalView)
term
- The searched phrase.geometries
- The list of Geometry
objects that can be either a polygon or circle geometry.language
- The language in which the search results should be returned. It should be one of the supported IETF language tags, case insensitive.limit
- The maximum limit of Responses that will be returned.typeAhead
- If true, then the query will be interpreted as a partial input, and the search will enter predictive mode.extendedPostalCodesFor
- The indexes for extended postal codes that should be included in the results.
Available indexes are: Addr, Geo, PAD, POI, Str, XStr.idxSet
- The indexes to utilize for the search.geopoliticalView
- This defines what kind of geopolitical view should be used.