You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by Apache Wiki <wi...@apache.org> on 2013/12/03 17:16:22 UTC
[Hama Wiki] Update of "HamaPipes" by MartinIllecker
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.
The "HamaPipes" page has been changed by MartinIllecker:
https://wiki.apache.org/hama/HamaPipes?action=diff&rev1=7&rev2=8
The following additional methods support access to [[http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/io/SequenceFile.html|SequenceFiles]] in C++:
||Function||Description||
- ||`sequenceFileOpen(const string& path, const string& option, const string& keyType, const string& valueType)`||Opens a SequenceFile with option "r" or "w", key/value type and returns the corresponding fileID.||
+ ||`int sequenceFileOpen(const string& path, const string& option, const string& keyType, const string& valueType)`||Opens a SequenceFile with option "r" or "w", key/value type and returns the corresponding fileID.||
||`bool sequenceFileReadNext(int fileID, K& key, V& value)`||Reads the next key/value pair from the SequenceFile.||
||`bool sequenceFileAppend(int fileID, const K& key, const V& value)`||Appends the next key/value pair to the SequenceFile.||
||`bool sequenceFileClose(int fileID)`||Closes a SequenceFile.||