|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecordSetInit
Provides access to methods that allow construction of recordsets based on source row or feature collections.
The IRecordsetInit interface is used to initialize the Recordset coclass. The coclass must be intialized before any of the other interfaces in the coclass can be used.
Method Summary | |
---|---|
IRowBuffer |
createRowBuffer()
Creates a row buffer that can be used with an insert cursor. |
void |
createTable(IFields fields)
Creates an empty table or feature class for a Recordset. |
int |
getMaxRecordCount()
The maximum number of records for the recordset. |
ICursor |
insert()
Returns a cursor that can be used to insert new rows. |
void |
setMaxRecordCount(int maxRecordCount)
The maximum number of records for the recordset. |
void |
setSourceQueryDef(IQueryDef queryDef)
Sets the source QueryDef for a Recordset. |
void |
setSourceTable(ITable table,
IQueryFilter queryFilter)
Sets the source table or feature class for a Recordset. |
Method Detail |
---|
int getMaxRecordCount() throws IOException, AutomationException
When using a recordset class, the MaxRecordCount property is used to return the maximum number of records for the recordset.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaxRecordCount(int maxRecordCount) throws IOException, AutomationException
maxRecordCount
- The maxRecordCount (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSourceTable(ITable table, IQueryFilter queryFilter) throws IOException, AutomationException
When using a recordset class, the SetSourceTable property is used to set the source table or feature class for a Recordset.
table
- A reference to a com.esri.arcgis.geodatabase.ITable (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSourceQueryDef(IQueryDef queryDef) throws IOException, AutomationException
When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.
queryDef
- A reference to a com.esri.arcgis.geodatabase.IQueryDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createTable(IFields fields) throws IOException, AutomationException
When using a recordset class, the CreateTable property is used to create an empty table or feature class for a RecordSet.
fields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRowBuffer createRowBuffer() throws IOException, AutomationException
When using a recordset class, the CreateRowBuffer property is used to create a row buffer that can be used with an insert cursor.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICursor insert() throws IOException, AutomationException
When using a recordset class, the Insert property is used to return a cursor that can be used to insert new rows into a RecordSet.
IOException
- 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 |