Package hec.io.dbf

Class DeleteRecordHandler

java.lang.Object
hec.io.dbf.RecordHandler
hec.io.dbf.DeleteRecordHandler

public class DeleteRecordHandler extends RecordHandler
A class that performs the delete operations on the data4jni. It is used by hec.server.RmiDbfFileImpl.
  • Constructor Details

  • 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 class RecordHandler
      Throws:
      IOException
      codebase.Error4message
      codebase.Error4unexpected
      codebase.Error4usage
      codebase.Error4locked
      codebase.Error4unique
    • handleException

      protected void handleException(int dbfRecordNumber, Serializable indexTagKey, Exception e)
      Specified by:
      handleException in class RecordHandler
    • 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 class RecordHandler
      Throws:
      IOException
      codebase.Error4message
      codebase.Error4unexpected
      codebase.Error4usage
      codebase.Error4locked
      codebase.Error4unique
    • getRow

      protected Vector getRow(int setRecordIndex)
      Specified by:
      getRow in class RecordHandler
    • processRow

      protected void processRow(int columnIndex, Vector row, Object o) throws IOException, codebase.Error4message, codebase.Error4unexpected
      Specified by:
      processRow in class RecordHandler
      Throws:
      IOException
      codebase.Error4message
      codebase.Error4unexpected