kyotocabinet::MapReduce::MapEmitter Class Reference

Data emitter for the mapper. More...

#include <kcdbext.h>

List of all members.

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

Detailed Description

Data emitter for the mapper.


Member Function Documentation

bool kyotocabinet::MapReduce::MapEmitter::emit ( const char *  kbuf,
size_t  ksiz,
const char *  vbuf,
size_t  vsiz 
)

Emit a record from the mapper.

Parameters:
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.
Returns:
true on success, or false on failure.
Generated on Sun Dec 19 12:53:11 2010 for Kyoto Cabinet by  doxygen 1.6.3