Trees | Index | Help |
|
---|
Module locKeyReader :: Class LocKeyReader |
|
Method Summary | |
---|---|
Class constructor which initialize key and location file descriptions and reads their headers. | |
Return key and location files descriptors to the position of first records in those files | |
Return dictionary[stream]=[proxies] list of proxies in a stream | |
Return list of file Id's from location file | |
Return a list of data keys in streams | |
Build conversion from new stream index to old one | |
Return number of sync values from key file | |
Read last record from key and location files and return tuple (syncValue, list of fileOffsets, stream index) | |
Read one record from key and location files at their current position and return tuple (syncValue, list of fileOffsets, stream index) | |
Return list of streams in location file |
Method Details |
---|
__init__(self,
keyFileName,
locFileName)
Class constructor which initialize key and location file
descriptions and reads their headers.
|
backToFirstRecord(self)Return key and location files descriptors to the position of first records in those files |
dataInStreams(self)Return dictionary[stream]=[proxies] list of proxies in a stream |
fileIDs(self)Return list of file Id's from location file |
listOfDataKeys(self)Return a list of data keys in streams |
newOldIndecies(self)Build conversion from new stream index to old one |
numberOfSyncValues(self)Return number of sync values from key file |
readLastRecordInfo(self)Read last record from key and location files and return tuple (syncValue, list of fileOffsets, stream index) |
readRecordInfo(self)Read one record from key and location files at their current position and return tuple (syncValue, list of fileOffsets, stream index) |
streamNames(self)Return list of streams in location file |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 24 10:46:01 2006 | http://epydoc.sf.net |