Class TextQuery
Package com.here.sdk.search
Class TextQuery
- java.lang.Object
-
- com.here.sdk.search.TextQuery
-
public final class TextQuery extends java.lang.ObjectThe options to specify a text query.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextQuery.AreaArea to perform search on.
-
Field Summary
Fields Modifier and Type Field Description TextQuery.AreaareaArea which to provide the most relevant places.PlaceFilterplaceFilterThe filter options to specify a place in query.java.lang.StringqueryDesired query to search.
-
Constructor Summary
Constructors Constructor Description TextQuery(java.lang.String query, TextQuery.Area area)Constructs a TextQuery from the provided text query and geographic area.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
query
@NonNull public java.lang.String query
Desired query to search.
-
area
@NonNull public TextQuery.Area area
Area which to provide the most relevant places.
-
placeFilter
@NonNull public PlaceFilter placeFilter
The filter options to specify a place in query. Consists of fuel and truck options.
-
-
Constructor Detail
-
TextQuery
public TextQuery(@NonNull java.lang.String query, @NonNull TextQuery.Area area)Constructs a TextQuery from the provided text query and geographic area. For Offline Search, search in a given
GeoBox,GeoCircleorGeoCorridorrestricts the results to only POIs.- Parameters:
query-Desired query to search.
area-Area which to provide the most relevant places.
-
-