vector<PbMessagePtr> PairStoreDelegateRddPartition::getValue(const PbMessagePtr& key) const { vector<PbMessagePtr> value; StoreValue<google::protobuf::Message> storeValue; ResultCode rc = dataMap->get(key, storeValue); if (rc == RC_OK) { value.push_back(storeValue.get()); } return value; }
PbMessagePtr PairStoreDelegateRddPartition::get(const PbMessagePtr& key) const { PbMessagePtr value; StoreValue<google::protobuf::Message> storeValue; ResultCode rc = dataMap->get(key, storeValue); if (rc == RC_OK) { value = storeValue.get(); } return value; }