示例#1
0
void MR_kv_add_multi_dynamic(void *KVptr, int n, 
           char *key, int *keybytes,
           char *value, int *valuebytes)
{
  KeyValue *kv = (KeyValue *) KVptr;
  kv->add(n,key,keybytes,value,valuebytes);
}
示例#2
0
void MR_kv_add_kv(void *MRptr, void *MRptr2)
{
  KeyValue *kv = ((MapReduce *) MRptr)->kv;
  KeyValue *kv2 = ((MapReduce *) MRptr2)->kv;
  kv->add(kv2);
}
示例#3
0
void MR_kv_add(void *KVptr, char *key, int keybytes,
         char *value, int valuebytes)
{
  KeyValue *kv = (KeyValue *) KVptr;
  kv->add(key,keybytes,value,valuebytes);
}