|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that control attribute based queries.
IQueryDef sets the parameters needed to create an attribute query. The name of the table and a string defining the where clause are required. An optional list of columns may be included to specify the columns to be retrieved. If no columns are specified, all columns will be returned.
IQueryDef only can be used with ArcSDE, Personal and File Geodatabase data sources.
The IQueryDef interface allows the definition of an attribute query based on one or more tables. Multiple table joins may be defined through the use of this interface.
In order to access the geometry of a feature returned by the query the shape field must be included in the SubFields definition.
IQueryFilter| Method Summary | |
ICursor |
evaluate()
Evaluate the query and return a cursor on the result set. |
java.lang.String |
getSubFields()
The comma delimited list of field names for the query. |
java.lang.String |
getTables()
The comma delimited list of table names for the query. |
java.lang.String |
getWhereClause()
The where clause for the query. |
void |
setSubFields(java.lang.String subFields)
The comma delimited list of field names for the query. |
void |
setTables(java.lang.String tables)
The comma delimited list of table names for the query. |
void |
setWhereClause(java.lang.String whereClause)
The where clause for the query. |
| Method Detail |
public java.lang.String getTables()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTables(java.lang.String tables)
throws java.io.IOException,
AutomationException
tables - The tables (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getSubFields()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSubFields(java.lang.String subFields)
throws java.io.IOException,
AutomationException
subFields - The subFields (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getWhereClause()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWhereClause(java.lang.String whereClause)
throws java.io.IOException,
AutomationException
whereClause - The whereClause (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor evaluate()
throws java.io.IOException,
AutomationException
The IQueryDef interface is used to set up and define the query and also provides an Evaluate method that is used to execute the query, returning a cursor.
java.io.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 | |||||||||