com.esri.arcgis.geodatabase
Interface IRecordSet

All Superinterfaces:
Serializable
All Known Subinterfaces:
IRecordSet2
All Known Implementing Classes:
RecordSet

public interface IRecordSet
extends Serializable

Provides access to the rows or features in a recordset.

Superseded By

IRecordSet2

Remarks

The IRecordset interface exposes methods and properties to perform geodatabase recordset operations. A recordset is a data structure that consists of a group of database records, and can either come from a base table or as the result of a query to the table.

Product Availability

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


Method Summary
 ICursor getCursor(boolean recycling)
          A cursor over the rows or features in the recordset.
 IFields getFields()
          The fields of the recordset.
 ITable getTable()
          The source table or feature class for the recordset.
 boolean isFeatureCollection()
          Indicates if the recordset is a feature collection.
 

Method Detail

getFields

IFields getFields()
                  throws IOException,
                         AutomationException
The fields of the recordset.

Remarks

When using a recordset class, the Fields property is used to return the fields in the RecordSet.

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.IFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCursor

ICursor getCursor(boolean recycling)
                  throws IOException,
                         AutomationException
A cursor over the rows or features in the recordset.

Product Availability

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

Parameters:
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFeatureCollection

boolean isFeatureCollection()
                            throws IOException,
                                   AutomationException
Indicates if the recordset is a feature collection.

Remarks

When using a recordset class, the IsFeatureCollection property is used to return true and is read only if the RecordSet is a feature collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getTable

ITable getTable()
                throws IOException,
                       AutomationException
The source table or feature class for the recordset.

Remarks

When using a recordset class, the Table property is used to return the source table or feature class for a RecordSet.

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.