This method should only be called on update cursors. Specified by: nextRow in interface ICursor Returns: A reference to a .IRow Throws: IOException - If there are interop problems.ĪutomationException Update the existing Row in the database corresponding to the current position of the cursor. If no rows remain in the result set, this method returns a null value. To retrieve all rows in a result set containing N rows, the application must make N calls to NextRow. The row object returned is allocated and hydrated by the cursor, and a reference to it is handed to the application. The NextRow method on a search or update cursor returns the next row in the result set to the application. Specified by: getFields in interface ICursor Returns: A reference to a .IFields Throws: IOException - If there are interop problems.ĪutomationException Advance the position of the cursor by one and return the Row object at that position. Throws: IOException - If there are interop problems.ĪutomationException - If the ArcObject component throws an exception.ĪutomationException The Fields Collection for this cursor. Specified by: findField in interface ICursor Parameters: name - The name (in) If the specified field cannot be found, this method returns a value of -1. Throws IOException Overrides: removeListener in class .Dispatch Throws: IOExceptionĪutomationException The index of the field with the specified name. Public void removeListener( String iidStr, Throws IOException Overrides: addListener in class .Dispatch Throws: IOException Throws IOException Throws: IOException Method Detail Public boolean noncastable Constructor Detail ObjectĬlone, finalize, getClass, notify, notifyAll, wait, wait, wait Methods inherited from class .DispatchīindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal Update the existing Row in the database corresponding to the current position of the cursor. Insert a new Row into the database using the property values in the input buffer.Īdvance the position of the cursor by one and return the Row object at that position. The index of the field with the specified name.įlush any outstanding buffered writes to the database. Product AvailabilityĪvailable with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.įields inherited from class .DispatchĭISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefĭelete the existing Row in the database corresponding to the current position of the cursor. In other words, a cursor should be created after an edit operation has begun and should not be used once that edit operation has been stopped or aborted. When using cursors within an edit session, they should always be scoped to edit operations. This is why retrieving the first row may take longer than subsequent rows, and because underlying DBMS errors might be raised on the call, error handling is recommended. Note that while a cursor is created in the client's memory after a call to methods such as ITable.Search or ITable.Insert, the DBMS cursor is not created until a call to NextRow (or a similar method) is made. If both executions of the query are made within the same edit session (or database transaction with the appropriate level of isolation), the application is guaranteed not to see any changes made to the data by other concurrently executing applications. If an application needs to make multiple passes over the data, the application needs to reexecute the query that returned the cursor. Provides access to members that hand out enumerated rows, field collections and allows for the updating, deleting and inserting of rows.Ĭursors are forward only they do not support backing up and retrieving rows that have already been retrieved or making multiple passes over data. Public class ICursorProxy extends .Dispatch implements ICursor, Serializable SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass ICursorProxy .DispatchĬom. All Implemented Interfaces: ICursor, Externalizable, Serializable
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |