|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.QueryDef
public class QueryDef
Esri Query Definition object.
| Constructor Summary | |
|---|---|
QueryDef(Object obj)
Construct a QueryDef using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
ICursor |
evaluate()
Evaluate the query and return a cursor on the result set. |
String |
getSubFields()
The comma delimited list of field names for the query. |
String |
getTables()
The comma delimited list of table names for the query. |
String |
getWhereClause()
The where clause for the query. |
int |
hashCode()
the hashcode for this object |
void |
setSubFields(String subFields)
The comma delimited list of field names for the query. |
void |
setTables(String tables)
The comma delimited list of table names for the query. |
void |
setWhereClause(String whereClause)
The where clause for the query. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public QueryDef(Object obj)
throws IOException
obj to QueryDef. *
QueryDef o = (QueryDef)obj; // will not work
QueryDef o = new QueryDef(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
QueryDef theQueryDef = (QueryDef) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getTables()
throws IOException,
AutomationException
getTables in interface IQueryDefIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTables(String tables)
throws IOException,
AutomationException
setTables in interface IQueryDeftables - The tables (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSubFields()
throws IOException,
AutomationException
getSubFields in interface IQueryDefIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSubFields(String subFields)
throws IOException,
AutomationException
setSubFields in interface IQueryDefsubFields - The subFields (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getWhereClause()
throws IOException,
AutomationException
For more information about where clauses, see IQueryFilter.WhereClause.
getWhereClause in interface IQueryDefIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWhereClause(String whereClause)
throws IOException,
AutomationException
For more information about where clauses, see IQueryFilter.WhereClause.
setWhereClause in interface IQueryDefwhereClause - The whereClause (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor evaluate()
throws 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.
evaluate in interface IQueryDefIOException - 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 | ||||||||