| 278 | } |
| 279 | |
| 280 | void sdk_batch_write_callback(tera::BatchMutation* batch_mu) { |
| 281 | Context* ctx = (Context*)batch_mu->GetContext(); |
| 282 | Adapter* adapter = ctx->adapter; |
| 283 | size_t req_size = ctx->size; |
| 284 | int64_t req_time = ctx->time; |
| 285 | adapter->BatchWriteCallback(batch_mu, req_size, req_time); |
| 286 | delete ctx; |
| 287 | } |
| 288 | |
| 289 | void Adapter::BatchWrite(int opt, const std::string& row, |
| 290 | std::map<std::string, std::set<std::string> >& column, uint64_t timestamp, |
nothing calls this directly
no test coverage detected