com.esri.arcgis.geodatabase
Interface esriSearchOrder

All Superinterfaces:
java.io.Serializable

public interface esriSearchOrder
extends java.io.Serializable

Spatial Filter Search Order.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Description

esriSearchOrder controls the order in which spatial searches are applied by the RDBMS (ArcSDE). The spatial component of the search should generally be applied before the attribute component. The more spatially restrictive of the two should be used. In the following query, "Find all wells with particulate counts between 1000 and 1200 in within 5 miles of a school", the esriSearchOrderAttribute enumerator is more effective. If the filter geometry is the outline of the city of Modesto, California and the attribute query is "street_name = 'Main St.'" then esriSearchOrderSpatial should be used, as there are a large number of "Main St." records at a national level.


Remarks

esriSearchOrderSpatial is the default order.  The following esriSearchOrder enumerators are used to set the search order.

esriSearchOrderAttribute

Sets the search order to attribute first.

esriSearchOrderSpatial

Sets the search order to spatial first.

Example:

    pSpatialFiler.SearchOrder = esriSearchOrderAttribute

   



See Also:
ISpatialFilter

Field Summary
static int esriSearchOrderAttribute
           
static int esriSearchOrderSpatial
           
 

Field Detail

esriSearchOrderSpatial

public static final int esriSearchOrderSpatial
See Also:
Constant Field Values

esriSearchOrderAttribute

public static final int esriSearchOrderAttribute
See Also:
Constant Field Values