public class QueryDef extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IQueryDef
Description 'Esri Query Definition object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID97103d51_3a9e_11d1_8816_0000f877762d, xxDummy
Constructor and Description |
---|
QueryDef(java.lang.Object obj)
Construct a QueryDef using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
ICursor |
evaluate()
Evaluate the query and return a cursor on the result set.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
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.
|
public QueryDef(java.lang.Object obj) throws java.io.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 Serverjava.io.IOException
- if there are interop problems
QueryDef theQueryDef = (QueryDef) obj;
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getTables() throws java.io.IOException, AutomationException
getTables
in interface IQueryDef
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
setTables
in interface IQueryDef
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
getSubFields
in interface IQueryDef
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
setSubFields
in interface IQueryDef
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
getWhereClause
in interface IQueryDef
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
setWhereClause
in interface IQueryDef
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
evaluate
in interface IQueryDef
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.