public interface DataQuery extends Persistent
The scale parameter can be used by the DataStore as a hint about the quality or resolution of the data needed to view or operate with the data returned. As an example, it may use the scale to return only a representative subset of the data, or maybe to return Data with less detail, like a point or a line instead of a polygon.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getQueryParameter(java.lang.String name)
Returns the value of an query parameter.
|
double |
getScale()
Returns the scale of the data to load.
|
void |
setQueryParameter(java.lang.String name,
java.lang.Object value)
Sets the value of an query parameter.
|
void |
setScale(double scale)
Sets the scale.
|
loadFromState, saveToState
void setScale(double scale)
scale
- the scale to setdouble getScale()
java.lang.Object getQueryParameter(java.lang.String name)
name
- of the parametervoid setQueryParameter(java.lang.String name, java.lang.Object value)
name
- of the query parametervalue
- for the query parameter