public class SearchQuery
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SearchQuery> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
static SearchQueryBuilder |
builder()
Instantiates the SearchQueryBuilder object.
|
protected boolean |
canEqual(java.lang.Object other) |
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
LatLng |
getBottomRight()
Bottom right location of the bounding box.
|
Category |
getCategory()
Search for a specific category.
|
java.lang.String |
getCountry()
This will limit the search to the specified countries.
|
java.lang.String |
getIdxSet()
Specifying which indexes to utilize for the search.
|
java.lang.String |
getLanguage()
Language in which search results should be returned.
|
java.lang.Integer |
getLimit()
Maximum number of search results which will be returned by the search service.
|
LatLng |
getLocation()
Position where results should be biased.
|
java.lang.Integer |
getMaxFuzzyLevel()
Maximum fuzziness level to be used.
|
java.lang.Integer |
getMinFuzzyLevel()
Minimum fuzziness level to be used.
|
java.lang.Integer |
getOffset()
Starting offset of the returned results within the full result set.
|
java.lang.Integer |
getRadius()
If radius and location are set, the results will be constrained to the defined area.
|
java.lang.String |
getTerm()
Query to be searched.
|
LatLng |
getTopLeft()
Top left location of the bounding box.
|
int |
hashCode() |
boolean |
isCategory()
Checks whether provided query is for category or not.
|
boolean |
isTypeAhead()
If the "typeahead" flag is set, the query will be interpreted as
a partial input and the search will enter predictive mode.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<SearchQuery> CREATOR
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public static SearchQueryBuilder builder()
public java.lang.Integer getLimit()
public java.lang.Integer getOffset()
public java.lang.Integer getRadius()
public LatLng getLocation()
public LatLng getTopLeft()
public LatLng getBottomRight()
@NonNull public java.lang.String getTerm()
public java.lang.String getCountry()
public java.lang.String getIdxSet()
public java.lang.String getLanguage()
public boolean isTypeAhead()
public boolean isCategory()
public Category getCategory()
public java.lang.Integer getMinFuzzyLevel()
public java.lang.Integer getMaxFuzzyLevel()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object