org.geotools.data
Class DefaultQuery

Object
  extended by Query
      extended by DefaultQuery

Deprecated. This class is now synonymous with the Query class.

public class DefaultQuery
extends Query

A Query class allowing content to be requested from a Datastore or FeatureSource.

Author:
Chris Holmes
See Also:
Query

Field Summary
 
Fields inherited from class Query
alias, ALL, ALL_NAMES, ALL_PROPERTIES, coordinateSystem, coordinateSystemReproject, DEFAULT_MAX, FIDS, filter, handle, hints, INCLUDE_MANDATORY_PROPS, joins, maxFeatures, namespace, NO_NAMES, NO_NAMESPACE, NO_PROPERTIES, properties, sortBy, startIndex, typeName, version
 
Constructor Summary
DefaultQuery()
          Deprecated. No argument constructor.
DefaultQuery(Query query)
          Deprecated. Copy contructor, clones the state of a generic Query into a DefaultQuery
DefaultQuery(String typeName)
          Deprecated. Query with typeName.
DefaultQuery(String typeName, Filter filter)
          Deprecated. Constructor with typeName and filter.
DefaultQuery(String typeName, Filter filter, int maxFeatures, String[] propNames, String handle)
          Deprecated. Constructor that sets all fields.
DefaultQuery(String typeName, Filter filter, String[] properties)
          Deprecated. Constructor that sets the filter and properties
DefaultQuery(String typeName, URI namespace, Filter filter, int maxFeatures, List<PropertyName> propNames, String handle)
          Deprecated. Constructor that sets all fields.
DefaultQuery(String typeName, URI namespace, Filter filter, int maxFeatures, String[] propNames, String handle)
          Deprecated. Constructor that sets all fields.
 
Method Summary
 
Methods inherited from class Query
equals, getAlias, getCoordinateSystem, getCoordinateSystemReproject, getFilter, getHandle, getHints, getJoins, getMaxFeatures, getNamespace, getProperties, getPropertyNames, getSortBy, getStartIndex, getTypeName, getVersion, hashCode, isMaxFeaturesUnlimited, retrieveAllProperties, setAlias, setCoordinateSystem, setCoordinateSystemReproject, setFilter, setHandle, setHints, setMaxFeatures, setNamespace, setProperties, setPropertyNames, setPropertyNames, setSortBy, setStartIndex, setTypeName, setVersion, setVersion, setVersion, setVersion, setVersion, setVersion, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultQuery

public DefaultQuery()
Deprecated. 
No argument constructor.


DefaultQuery

public DefaultQuery(String typeName)
Deprecated. 
Query with typeName.

Parameters:
typeName - the name of the featureType to retrieve

DefaultQuery

public DefaultQuery(String typeName,
                    Filter filter)
Deprecated. 
Constructor with typeName and filter. Note that current datasource implementations only have one type per datasource, so the typeName field will likely be ignored.

Parameters:
typeName - the name of the featureType to retrieve.
filter - the OGC filter to constrain the request.

DefaultQuery

public DefaultQuery(String typeName,
                    Filter filter,
                    String[] properties)
Deprecated. 
Constructor that sets the filter and properties

Parameters:
typeName -
filter - the OGC filter to constrain the request.
properties - an array of the properties to fetch.

DefaultQuery

public DefaultQuery(String typeName,
                    Filter filter,
                    int maxFeatures,
                    String[] propNames,
                    String handle)
Deprecated. 
Constructor that sets all fields.

Parameters:
typeName - the name of the featureType to retrieve.
filter - the OGC filter to constrain the request.
maxFeatures - the maximum number of features to be returned.
propNames - an array of the properties to fetch.
handle - the name to associate with the query.

DefaultQuery

public DefaultQuery(String typeName,
                    URI namespace,
                    Filter filter,
                    int maxFeatures,
                    String[] propNames,
                    String handle)
Deprecated. 
Constructor that sets all fields.

Parameters:
typeName - the name of the featureType to retrieve.
namespace - Namespace for provided typeName, or null if unspecified
filter - the OGC filter to constrain the request.
maxFeatures - the maximum number of features to be returned.
propNames - an array of the properties to fetch.
handle - the name to associate with the query.

DefaultQuery

public DefaultQuery(String typeName,
                    URI namespace,
                    Filter filter,
                    int maxFeatures,
                    List<PropertyName> propNames,
                    String handle)
Deprecated. 
Constructor that sets all fields.

Parameters:
typeName - the name of the featureType to retrieve.
namespace - Namespace for provided typeName, or null if unspecified
filter - the OGC filter to constrain the request.
maxFeatures - the maximum number of features to be returned.
propNames - a list of the properties to fetch.
handle - the name to associate with the query.

DefaultQuery

public DefaultQuery(Query query)
Deprecated. 
Copy contructor, clones the state of a generic Query into a DefaultQuery

Parameters:
query -


Copyright © 1996-2014 Geotools. All Rights Reserved.