Class StructuredQuery

java.lang.Object
com.here.sdk.search.StructuredQuery

public final class StructuredQuery extends Object

The options to specify a structured query. Only supported in OfflineSearchEngine (only available for the Navigate license).

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • query

      @NonNull public String query

      Desired query to search.

    • areaCenter

      @NonNull public GeoCoordinates areaCenter

      Geographic coordinates of the prioritized area center.

    • addressElements

      @NonNull public StructuredQuery.AddressElements addressElements

      Query address elements to get the results from a specific geographical area.

    • resultType

      @Nullable public StructuredQuery.ResultType resultType

      An optional field to indicates the type of result expected.

  • Constructor Details

    • StructuredQuery

      public StructuredQuery(@NonNull String query, @NonNull GeoCoordinates areaCenter)

      Creates a new instance.

      Parameters:
      query -

      Desired query to search.

      areaCenter -

      Geographic coordinates of the prioritized area center.

  • Method Details