Class TextQuery

  • java.lang.Object
    • com.here.sdk.search.TextQuery

  • public final class TextQuery
    extends java.lang.Object

    The options to specify a text query.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TextQuery.Area
      Area to perform search on.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      TextQuery.Area area
      Area which to provide the most relevant places.
      PlaceFilter placeFilter
      The filter options to specify a place in query.
      java.lang.String query
      Desired 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
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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, GeoCircle or GeoCorridor restricts the results to only POIs.

        Parameters:
        query -

        Desired query to search.

        area -

        Area which to provide the most relevant places.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object