com.esri.arcgis.geodatabase
Class IQueryDef2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IQueryDefProxy
          extended by com.esri.arcgis.geodatabase.IQueryDef2Proxy
All Implemented Interfaces:
IQueryDef, IQueryDef2, Externalizable, Serializable

public class IQueryDef2Proxy
extends IQueryDefProxy
implements IQueryDef2, Serializable

Provides access to members that control attribute based queries.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IQueryDef2Proxy()
           
  IQueryDef2Proxy(Object obj)
           
protected IQueryDef2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ICursor evaluate2(boolean recycling)
          Evaluate the query and return a cursor on the result set.
 String getPostfixClause()
          A clause that will be appended to the SELECT statement, following the where clause.
 String getPrefixClause()
          A clause that will be inserted between the SELECT keyword and the SELECT COLUMN LIST.
 void removeListener(String iidStr, Object theListener)
           
 void setPostfixClause(String clause)
          A clause that will be appended to the SELECT statement, following the where clause.
 void setPrefixClause(String clause)
          A clause that will be inserted between the SELECT keyword and the SELECT COLUMN LIST.
 
Methods inherited from class com.esri.arcgis.geodatabase.IQueryDefProxy
evaluate, getSubFields, getTables, getWhereClause, setSubFields, setTables, 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.IQueryDef
evaluate, getSubFields, getTables, getWhereClause, setSubFields, setTables, setWhereClause
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IQueryDef2Proxy

public IQueryDef2Proxy()

IQueryDef2Proxy

public IQueryDef2Proxy(Object obj)
                throws IOException
Throws:
IOException

IQueryDef2Proxy

protected IQueryDef2Proxy(Object obj,
                          String iid)
                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IQueryDefProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IQueryDefProxy
Throws:
IOException

getPrefixClause

public String getPrefixClause()
                       throws IOException,
                              AutomationException
A clause that will be inserted between the SELECT keyword and the SELECT COLUMN LIST. Most commonly used for clauses like DISTINCT or ALL.

Product Availability

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

Specified by:
getPrefixClause in interface IQueryDef2
Returns:
The clause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrefixClause

public void setPrefixClause(String clause)
                     throws IOException,
                            AutomationException
A clause that will be inserted between the SELECT keyword and the SELECT COLUMN LIST. Most commonly used for clauses like DISTINCT or ALL.

Product Availability

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

Specified by:
setPrefixClause in interface IQueryDef2
Parameters:
clause - The clause (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPostfixClause

public String getPostfixClause()
                        throws IOException,
                               AutomationException
A clause that will be appended to the SELECT statement, following the where clause. Most commonly used for clauses like ORDER BY.

Product Availability

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

Specified by:
getPostfixClause in interface IQueryDef2
Returns:
The clause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPostfixClause

public void setPostfixClause(String clause)
                      throws IOException,
                             AutomationException
A clause that will be appended to the SELECT statement, following the where clause. Most commonly used for clauses like ORDER BY.

Product Availability

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

Specified by:
setPostfixClause in interface IQueryDef2
Parameters:
clause - The clause (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

evaluate2

public ICursor evaluate2(boolean recycling)
                  throws IOException,
                         AutomationException
Evaluate the query and return a cursor on the result set.

Product Availability

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

Specified by:
evaluate2 in interface IQueryDef2
Parameters:
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.