Interface IHecDSSUtilities

All Known Implementing Classes:
HecDSSUtilities

public interface IHecDSSUtilities
  • Field Details

  • Method Details

    • fileStats

      int fileStats()
    • setDSSFileName

      int setDSSFileName(String fname)
    • setDSSFileName

      int setDSSFileName(String dssFileName, boolean fileMustExist, int version)
    • delete

      default int delete(String pathname)
    • delete

      int delete(List<String> pathnameList)
    • undelete

      int undelete(List<String> pathnames)
    • undoLastDelete

      int undoLastDelete()
    • copyRecordsInto

      int copyRecordsInto(String fromDSSFilename, List<String> pathnameList)
    • copyRecordsFrom

      int copyRecordsFrom(String toDSSFilename, List<String> pathnameList)
      copyRecordsFrom copies from HecDSSUtilities instance to the toDSSFilename
      Parameters:
      toDSSFilename - destination of records
      pathnameList - list of paths to copy
      Returns:
      returns the number of records copied.
    • copyFile

      int copyFile(String toDSSFilename)
    • getLastDeletePathnames

      List<String> getLastDeletePathnames()
    • duplicateRecords

      int duplicateRecords(List<String> pathnameList, List<String> newPathnameList)
    • renameRecords

      int renameRecords(List<String> pathnameList, List<String> newPathnameList)
    • squeeze

      int squeeze()
    • cancelProcess

      void cancelProcess()
    • getCondensedCatalog

      List<CondensedReference> getCondensedCatalog()
    • getDssFileVersion

      int getDssFileVersion()
    • setForceNewCatalog

      void setForceNewCatalog(boolean b)
    • checkForSevereDssError

      boolean checkForSevereDssError()
    • checkForError

      int checkForError()
    • createNewCatalog

      int createNewCatalog(int catalogType)
    • recordExists

      boolean recordExists(String pathname)
    • isCatalogValid

      boolean isCatalogValid()
    • done

      void done()
    • clearSevereError

      void clearSevereError()
    • clearError

      void clearError()
    • lastSevereErrorMessage

      DSSErrorMessage lastSevereErrorMessage()
    • allSevereErrorMessages

      List<DSSErrorMessage> allSevereErrorMessages()
    • cancelSqueeze

      int cancelSqueeze()
    • getProcessStatus

      void getProcessStatus(int[] numberRecs, int[] currentRec)
    • setInterrupt

      void setInterrupt(boolean interrupt)
    • clearStatus

      void clearStatus()
    • close

      void close()
    • checkAllPathnames

      int checkAllPathnames()
    • checkLinks

      int checkLinks()
    • checkPathnameBins

      int checkPathnameBins()
    • DSSFileName

      String DSSFileName()
    • fileOpened

      boolean fileOpened()
    • open

      int open()
    • fileAccessible

      boolean fileAccessible()
    • setPathname

      int setPathname(String pathname)
    • getTSRecordInfo

      int getTSRecordInfo(String pathname, HecTime start, HecTime end, stringContainer units, stringContainer type)
    • getTimeSeriesExtents

      boolean getTimeSeriesExtents(String pathname, HecTime start, HecTime end)
    • numberRecords

      int numberRecords()
    • readRawShorts

      short[] readRawShorts(String pathname)
    • recordType

      int recordType(String pathname)
    • recordTypes

      Map<String,Integer> recordTypes(String[] pathnames)
    • getPathnameList

      String[] getPathnameList(boolean forceUpdate)
    • searchDSSCatalog

      int searchDSSCatalog(String scanString, List<String> pathnameList)
    • searchDSSPaths

      int searchDSSPaths(String scanString, List<String> pathnameList)
    • forceMultiUserAccess

      int forceMultiUserAccess()
    • writeAccess

      boolean writeAccess()
    • zinqir

      int zinqir(String parameter)
    • zinqir

      void zinqir(String parameter, stringContainer alpha, int[] numb)
    • dss_zset

      void dss_zset(String parameter, String alpha, int number)
    • dss_zquery

      void dss_zquery(String parameter, stringContainer alpha, int[] numb)
    • getCatalogName

      String getCatalogName(int catalogType)
    • nextTimeSeriesPathname

      String nextTimeSeriesPathname(String lastPathname)