Data emitter for the mapper. More...
#include <kcdbext.h>
Public Member Functions | |
bool | emit (const char *kbuf, size_t ksiz, const char *vbuf, size_t vsiz) |
Emit a record from the mapper. | |
Friends | |
class | MapReduce |
class | MapReduce::MapVisitor |
Data emitter for the mapper.
bool kyotocabinet::MapReduce::MapEmitter::emit | ( | const char * | kbuf, | |
size_t | ksiz, | |||
const char * | vbuf, | |||
size_t | vsiz | |||
) |
Emit a record from the mapper.
kbuf | the pointer to the key region. | |
ksiz | the size of the key region. | |
vbuf | the pointer to the value region. | |
vsiz | the size of the value region. |