com.esri.arcgis.geodatabase
Interface IRelQueryTable

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRelQueryTableProxy, RelQueryTable

public interface IRelQueryTable
extends Serializable

Provides access to members that define the Tables and the RelationshipClass used in a join.

Remarks

The IRelQueryTable interface allows you to get the source and destination as well as the RelationshipClass or MemoryRelationshipClass used to define the RelQueryTable. The source and destination can be Tables, FeatureClasses, or even other RelQueryTables.

For example, if you wanted to join two tables to a feature class, you would first create RelQueryTableA to join one of the tables to the feature class. You would then create RelQueryTableB to join the second table to RelQueryTableA. RelQuerytableA would be the source for RelQueryTableB. The diagram below illustrates how this works.

Product Availability

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


Method Summary
 ITable getDestinationTable()
          The fields that appear on the right side of the join belong to the destination table.
 IRelationshipClass getRelationshipClass()
          Relationship class used in the table join.
 ITable getSourceTable()
          The fields that appear on the left side of the join belong to the source table.
 

Method Detail

getSourceTable

ITable getSourceTable()
                      throws IOException,
                             AutomationException
The fields that appear on the left side of the join belong to the source table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDestinationTable

ITable getDestinationTable()
                           throws IOException,
                                  AutomationException
The fields that appear on the right side of the join belong to the destination table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClass

IRelationshipClass getRelationshipClass()
                                        throws IOException,
                                               AutomationException
Relationship class used in the table join.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.