Trees | Index | Help |
|
---|
Module locKeyReader :: Class KeyLocFilesReader |
|
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 | |
Read (sv,fileOffset,streamIdx) from each entry of given recordInfoList and form combined (sv,fileOffset,streamIdx). | |
Return list of location files associated with given class | |
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,
locFileList)
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 |
formTupleTriplet(self, recordInfoList)Read (sv,fileOffset,streamIdx) from each entry of given recordInfoList and form combined (sv,fileOffset,streamIdx). This method is used inreadRecordInfo and
readLastRecordInfo.
|
locFileList(self)Return list of location files associated with given class |
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). Internally it reads file offsets from all location files associated with key file and forms a combined files offset list. |
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 |