com.esri.arcgis.carto
Interface IQueryTableDataSourceDescription

All Superinterfaces:
Serializable
All Known Implementing Classes:
QueryTableDataSourceDescription

public interface IQueryTableDataSourceDescription
extends Serializable

Provides access to the available properties of a table datasource description object.

Product Availability

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


Method Summary
 int getGeometryType()
          Geometry type on spatial column if presents.
 String getOIDFields()
          Unique Key Field(s).
 String getQuery()
          Query statement.
 ISpatialReference getSpatialReference()
          The spatial reference.
 void setGeometryType(int pGeometryType)
          Geometry type on spatial column if presents.
 void setOIDFields(String pOIDFields)
          Unique Key Field(s).
 void setQuery(String pQuery)
          Query statement.
 void setSpatialReferenceByRef(ISpatialReference spatialReference)
          The spatial reference.
 

Method Detail

getQuery

String getQuery()
                throws IOException,
                       AutomationException
Query statement.

Description

Any SQL Statement valid as SubQuery and conformed to the underlying RDBMS.

Remarks

FileGeodatabase or any file based datasource is not supported.

Product Availability

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

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

setQuery

void setQuery(String pQuery)
              throws IOException,
                     AutomationException
Query statement.

Product Availability

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

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

getOIDFields

String getOIDFields()
                    throws IOException,
                           AutomationException
Unique Key Field(s).

Remarks

Use comma (,) as a delimiter when multiple fields are required to uniquely define each row in the output table/featureclass.

Product Availability

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

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

setOIDFields

void setOIDFields(String pOIDFields)
                  throws IOException,
                         AutomationException
Unique Key Field(s).

Product Availability

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

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

getGeometryType

int getGeometryType()
                    throws IOException,
                           AutomationException
Geometry type on spatial column if presents.

Product Availability

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

Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryType

void setGeometryType(int pGeometryType)
                     throws IOException,
                            AutomationException
Geometry type on spatial column if presents.

Product Availability

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

Parameters:
pGeometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference.

Product Availability

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

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

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference spatialReference)
                              throws IOException,
                                     AutomationException
The spatial reference.

Product Availability

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

Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.