SearchQuery class
Overview
This topic describes the SearchQuery class and its methods that are used to build the SearchRequestModel object. For more information, see SearchRequestModel class.
Constructor
SearchQuery()Parameter description
Parameter Name | Type | Description |
query | String | Applicable to Ha3-based queries. For more information about supported clauses, see the relevant documentation. |
sql | String | Applicable to SQL queries. For more information about supported clauses, see the relevant documentation. |
Set Query Parameters
Description
SearchQuery setQuery(String query)Parameter description
Parameter Name | Type | Description |
query | String | Applicable to Ha3-based queries. For more information about supported clauses, see the relevant documentation. |
Retrieve query parameters
Interface Description
String getQuery()Return value: The value of the `query` parameter.
Set SQL parameters
API Description
SearchQuery setSql(String sql)Parameter description
Parameter Name | Type | Description |
sql | String | Applicable to SQL queries. For more information about supported clauses, see the relevant documentation. |
Obtaining SQL parameters
Interface Overview
String getSql()Return value: The value of the `sql` parameter.