Package hec.io.dbf
Class DeleteRecordHandler
java.lang.Object
hec.io.dbf.RecordHandler
hec.io.dbf.DeleteRecordHandler
A class that performs the delete operations on the data4jni. It is used by
hec.server.RmiDbfFileImpl.
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteRecordHandler(codebase.Data4jni data4Jni, DbfRecordIndexSet recordNumberSet, DbfResultSet resultSet, Vector fieldObjects) -
Method Summary
Modifier and TypeMethodDescriptionprotected VectorgetRow(int setRecordIndex) protected voidhandleException(int dbfRecordNumber, Serializable indexTagKey, Exception e) protected voidhandleResults(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) voidprocess(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey) Gets the data from field 4 objects and packages it in the record set.protected voidprocessRow(int columnIndex, Vector row, Object o) Methods inherited from class hec.io.dbf.RecordHandler
getResultSet
-
Constructor Details
-
DeleteRecordHandler
public DeleteRecordHandler(codebase.Data4jni data4Jni, DbfRecordIndexSet recordNumberSet, DbfResultSet resultSet, Vector fieldObjects)
-
-
Method Details
-
handleResults
protected void handleResults(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) throws IOException, codebase.Error4message, codebase.Error4unexpected, codebase.Error4usage, codebase.Error4locked, codebase.Error4unique - Specified by:
handleResultsin classRecordHandler- Throws:
IOExceptioncodebase.Error4messagecodebase.Error4unexpectedcodebase.Error4usagecodebase.Error4lockedcodebase.Error4unique
-
handleException
- Specified by:
handleExceptionin classRecordHandler
-
process
public void process(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey) throws IOException, codebase.Error4message, codebase.Error4unexpected, codebase.Error4usage, codebase.Error4locked, codebase.Error4unique Description copied from class:RecordHandlerGets the data from field 4 objects and packages it in the record set. This method requires that The data4jni already be positioned at the correct record number that should be read from.- Overrides:
processin classRecordHandler- Throws:
IOExceptioncodebase.Error4messagecodebase.Error4unexpectedcodebase.Error4usagecodebase.Error4lockedcodebase.Error4unique
-
getRow
- Specified by:
getRowin classRecordHandler
-
processRow
protected void processRow(int columnIndex, Vector row, Object o) throws IOException, codebase.Error4message, codebase.Error4unexpected - Specified by:
processRowin classRecordHandler- Throws:
IOExceptioncodebase.Error4messagecodebase.Error4unexpected
-