com.esri.arcgis.geodatabase
Interface ICursor

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Cursor, FeatureCursor, ICursorProxy, RelQueryCursor, TemporalCursor

public interface ICursor
extends java.io.Serializable

COM Interface 'ICursor'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that hand out enumerated rows, field collections and allows for the updating, deleting and inserting of rows.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDd4803ee7_79f4_11d0_97fc_0080c7f79481
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void deleteRow()
          Delete the existing Row in the database corresponding to the current position of the cursor.
 int findField(java.lang.String name)
          The index of the field with the specified name.
 void flush()
          Flush any outstanding buffered writes to the database.
 IFields getFields()
          The Fields Collection for this cursor.
 java.lang.Object insertRow(IRowBuffer buffer)
          Insert a new Row into the database using the property values in the input buffer.
 IRow nextRow()
          Advance the position of the cursor by one and return the Row object at that position.
 void updateRow(IRow row)
          Update the existing Row in the database corresponding to the current position of the cursor.
 

Field Detail

IIDd4803ee7_79f4_11d0_97fc_0080c7f79481

static final int IIDd4803ee7_79f4_11d0_97fc_0080c7f79481
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

findField

int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
The index of the field with the specified name.

Parameters:
name - The name (in)
Returns:
The fieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The Fields Collection for this cursor.

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

nextRow

IRow nextRow()
             throws java.io.IOException,
                    AutomationException
Advance the position of the cursor by one and return the Row object at that position.

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

updateRow

void updateRow(IRow row)
               throws java.io.IOException,
                      AutomationException
Update the existing Row in the database corresponding to the current position of the cursor.

Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRow

void deleteRow()
               throws java.io.IOException,
                      AutomationException
Delete the existing Row in the database corresponding to the current position of the cursor.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertRow

java.lang.Object insertRow(IRowBuffer buffer)
                           throws java.io.IOException,
                                  AutomationException
Insert a new Row into the database using the property values in the input buffer. The object ID of the new Row, if there is one, is returned.

Parameters:
buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flush

void flush()
           throws java.io.IOException,
                  AutomationException
Flush any outstanding buffered writes to the database.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.