HERE Android SDK Developer's Guide

CustomQueryBuilder

The class CustomQueryBuilder is a member of com.here.android.mpa.customlocation .

Class Summary

public final class CustomQueryBuilder

extends com.here.android.mpa.customlocation.QueryBuilder, java.lang.Object

An utility class to construct a query on custom attribute parameter(s), applying one or more conditions.

Deprecated: As of SDK 3.3.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in CustomQueryBuilder
Constructors

CustomQueryBuilder (Condition condition, String name, String value)

Deprecated: As of SDK 3.3.

Public Constructor.

Method Summary

Table 2. Methods in CustomQueryBuilder
Methods

public CustomQueryBuilder addCondition (Operation operation, Condition condition, String name, String value)

Deprecated: As of SDK 3.3.

Add a condition to the custom attribute query.

Class Details

Deprecated: As of SDK 3.3.

Use CLE2Request instead.

An utility class to construct a query on custom attribute parameter(s), applying one or more conditions. All conditions are case insensitive.

To create a query of one custom attribute parameter, for example:

new CustomQueryBuilder(Condition.EXACT_MATCH, "shopping", "car");

To create a custom attribute query with multiple condition(s), add more conditions with the Operation specified, like below:

new CustomQueryBuilder(Condition.EXACT_MATCH, "shopping", "car"). addCondition(Operation.OR, Condition.EXACT_MATCH, "performing arts", "opera").

Constructor Details

CustomQueryBuilder (Condition condition, String name, String value)

Deprecated: As of SDK 3.3.

Use CLE2Request instead.

Public Constructor.

Creates a query with one condition.

Parameters:

  • condition

    One of the values in that describes the filter to be applied on the attribute with name when the specified value satisfies the condition.

  • name

    A String representing the name of the custom attribute to apply the condition filter.

  • value

    A String representing the filter value to be applied on the attribute specified in name.

Method Details

public CustomQueryBuilder addCondition (Operation operation, Condition condition, String name, String value)

Deprecated: As of SDK 3.3.

Use CLE2Request instead.

Add a condition to the custom attribute query.

Parameters:

  • operation

    One of the values in that describes the logical operation between this conditions and the condition this is appended to.

  • condition

    One of the values in that describes the filter to be applied on the attribute with name when the specified value satisfies the condition.

  • name

    A String representing the name of the custom attribute to apply the condition filter.

  • value

    A String representing the filter value to be applied on the attribute specified in name.

Returns:

The modified QueryBuilder itself.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.