|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IQueryFilterProxy
com.esri.arcgis.geodatabase.IQueryFilter2Proxy
public class IQueryFilter2Proxy
Provides access to members that return and modify the output spatial resolution.
IQueryFilter2 adds the SpatialResolution method to the IQueryFilter interface. The IQueryFilter2 interface allows the specification of the desired spatial resolution as part of the query. It can be used a filter criteria for data sources that support the filtering of feature data based on spatial resolution. Features whose geometry extent is smaller than the specified spatial resolution will not be returned.
Note on ORDER BY and returning sorted data: To add ORDER BY and GROUP BY clauses to the attribute query the IQueryFilterDefinition::PostfixClause property can be used prior to creating the cursor. This will only work with ArcSDE and Personal Geodatabase.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IQueryFilter2Proxy()
|
|
IQueryFilter2Proxy(Object obj)
|
protected |
IQueryFilter2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getSpatialResolution()
The spatial resolution in which to output geometry. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setSpatialResolution(double resolution)
The spatial resolution in which to output geometry. |
Methods inherited from class com.esri.arcgis.geodatabase.IQueryFilterProxy |
---|
addField, getOutputSpatialReference, getSubFields, getWhereClause, setOutputSpatialReferenceByRef, setSubFields, setWhereClause |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.IQueryFilter |
---|
addField, getOutputSpatialReference, getSubFields, getWhereClause, setOutputSpatialReferenceByRef, setSubFields, setWhereClause |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IQueryFilter2Proxy()
public IQueryFilter2Proxy(Object obj) throws IOException
IOException
protected IQueryFilter2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IQueryFilterProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IQueryFilterProxy
IOException
public double getSpatialResolution() throws IOException, AutomationException
The SpatialResolution method provides generalization of shapes returned by a filter. The generalization is performed on the server to minimize network travel. A zero value is default and will result in no generalization. The higher the value, the greater the generalization performed. The value is specified in feature units and generally should be roughly the size of one display pixel (measured in feature units).
This method is only supported on ArcGIS feature service and ArcIMS data sources. It will be ignored on all other data sources.
getSpatialResolution
in interface IQueryFilter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialResolution(double resolution) throws IOException, AutomationException
setSpatialResolution
in interface IQueryFilter2
resolution
- The resolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |