Interface DataQuery

All Superinterfaces:
org.gvsig.tools.persistence.Persistent
All Known Subinterfaces:
FeatureQuery, RasterQuery

public interface DataQuery extends org.gvsig.tools.persistence.Persistent
Defines the properties of a collection of data, as a result of a query through a DataStore.

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.

Author:
2009- César Ordiñana - gvSIG team
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of an query parameter.
    double
    Returns the scale of the data to load.
    void
    Sets the value of an query parameter.
    void
    setScale(double scale)
    Sets the scale.

    Methods inherited from interface org.gvsig.tools.persistence.Persistent

    loadFromState, saveToState
  • Method Details

    • setScale

      void setScale(double scale)
      Sets the scale.
      Parameters:
      scale - the scale to set
    • getScale

      double getScale()
      Returns the scale of the data to load.
      Returns:
      the scale of the data to load
    • getQueryParameter

      Object getQueryParameter(String name)
      Returns the value of an query parameter.
      Parameters:
      name - of the parameter
      Returns:
      the parameter value
    • setQueryParameter

      void setQueryParameter(String name, Object value)
      Sets the value of an query parameter.
      Parameters:
      name - of the query parameter
      value - for the query parameter