com.esri.arcgis.geodatabase
Interface IQueryDef2

All Superinterfaces:
IQueryDef, Serializable
All Known Implementing Classes:
IQueryDef2Proxy

public interface IQueryDef2
extends IQueryDef, Serializable

Provides access to members that control attribute based queries.

Product Availability

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


Method Summary
 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 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 interface com.esri.arcgis.geodatabase.IQueryDef
evaluate, getSubFields, getTables, getWhereClause, setSubFields, setTables, setWhereClause
 

Method Detail

getPrefixClause

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.

Returns:
The clause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrefixClause

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.

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

getPostfixClause

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.

Returns:
The clause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPostfixClause

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.

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

evaluate2

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.

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.