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 Vector
getRow
(int setRecordIndex) protected void
handleException
(int dbfRecordNumber, Serializable indexTagKey, Exception e) protected void
handleResults
(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey, Vector row) void
process
(int setRecordIndex, int dbfRecordNumber, Serializable indexTagKey) Gets the data from field 4 objects and packages it in the record set.protected void
processRow
(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:
handleResults
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
codebase.Error4usage
codebase.Error4locked
codebase.Error4unique
-
handleException
- Specified by:
handleException
in 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:RecordHandler
Gets 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:
process
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
codebase.Error4usage
codebase.Error4locked
codebase.Error4unique
-
getRow
- Specified by:
getRow
in classRecordHandler
-
processRow
protected void processRow(int columnIndex, Vector row, Object o) throws IOException, codebase.Error4message, codebase.Error4unexpected - Specified by:
processRow
in classRecordHandler
- Throws:
IOException
codebase.Error4message
codebase.Error4unexpected
-