public abstract class AbstractQuery
extends Object
An abstract search query.
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractQuery.LatLng
A pair of (latitude, longitude).
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the URL query parameter string representing this object.
|
boolean |
equals(Object other) |
String |
get(String name)
Get a parameter in an untyped fashion.
|
int |
hashCode() |
static AbstractQuery.LatLng |
parseLatLng(String value)
Deprecated.
Please use
AbstractQuery.LatLng.parse(String) instead. |
AbstractQuery |
set(String name,
Object value)
Set a parameter in an untyped fashion.
|
String |
toString()
Obtain a debug representation of this query.
|
public boolean equals(@Nullable
Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object@NonNull public String toString()
Obtain a debug representation of this query. To get the raw query URL part, please see build().
toString in class Object@NonNull public String build()
Build the URL query parameter string representing this object.
@Nullable public static AbstractQuery.LatLng parseLatLng(String value)
AbstractQuery.LatLng.parse(String) instead.@NonNull public AbstractQuery set(@NonNull String name, @Nullable Object value)
Set a parameter in an untyped fashion. This low-level accessor is intended to access parameters that this client does not yet support.
name - The parameter’s name.value - The parameter’s value, or null to remove it. It will first be converted to a String by the toString() method.@Nullable
public String get(@NonNull
String name)
Get a parameter in an untyped fashion.
name - The parameter’s name.