Package hec.heclib.dss
Interface IHecDSSUtilities
- All Known Implementing Classes:
HecDSSUtilities
public interface IHecDSSUtilities
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidintintintbooleanintintvoidvoidvoidvoidclose()intintcopyRecordsFrom(String toDSSFilename, List<String> pathnameList) copyRecordsFrom copies from HecDSSUtilities instance to the toDSSFilenameintcopyRecordsInto(String fromDSSFilename, List<String> pathnameList) intcreateNewCatalog(int catalogType) default intintvoiddone()voiddss_zquery(String parameter, stringContainer alpha, int[] numb) voidintduplicateRecords(List<String> pathnameList, List<String> newPathnameList) booleanbooleanintintgetCatalogName(int catalogType) intString[]getPathnameList(boolean forceUpdate) voidgetProcessStatus(int[] numberRecs, int[] currentRec) booleangetTimeSeriesExtents(String pathname, HecTime start, HecTime end) intgetTSRecordInfo(String pathname, HecTime start, HecTime end, stringContainer units, stringContainer type) booleannextTimeSeriesPathname(String lastPathname) intintopen()short[]readRawShorts(String pathname) booleanrecordExists(String pathname) intrecordType(String pathname) recordTypes(String[] pathnames) intrenameRecords(List<String> pathnameList, List<String> newPathnameList) intsearchDSSCatalog(String scanString, List<String> pathnameList) intsearchDSSPaths(String scanString, List<String> pathnameList) intsetDSSFileName(String fname) intsetDSSFileName(String dssFileName, boolean fileMustExist, int version) voidsetForceNewCatalog(boolean b) voidsetInterrupt(boolean interrupt) intsetPathname(String pathname) intsqueeze()intintbooleanintvoidzinqir(String parameter, stringContainer alpha, int[] numb)
-
Field Details
-
STATUS_OKAY
static final int STATUS_OKAY- See Also:
-
-
Method Details
-
fileStats
int fileStats() -
setDSSFileName
-
setDSSFileName
-
delete
-
delete
-
undelete
-
undoLastDelete
int undoLastDelete() -
copyRecordsInto
-
copyRecordsFrom
copyRecordsFrom copies from HecDSSUtilities instance to the toDSSFilename- Parameters:
toDSSFilename- destination of recordspathnameList- list of paths to copy- Returns:
- returns the number of records copied.
-
copyFile
-
getLastDeletePathnames
-
duplicateRecords
-
renameRecords
-
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
-
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
-
getTSRecordInfo
int getTSRecordInfo(String pathname, HecTime start, HecTime end, stringContainer units, stringContainer type) -
getTimeSeriesExtents
-
numberRecords
int numberRecords() -
readRawShorts
-
recordType
-
recordTypes
-
getPathnameList
-
searchDSSCatalog
-
searchDSSPaths
-
forceMultiUserAccess
int forceMultiUserAccess() -
writeAccess
boolean writeAccess() -
zinqir
-
zinqir
-
dss_zset
-
dss_zquery
-
getCatalogName
-
nextTimeSeriesPathname
-