| 443 | }; |
| 444 | |
| 445 | Context::Pointer create_context() const { |
| 446 | IndexContext::Pointer ctx; |
| 447 | IndexSparseFlow::Context::Pointer flow_ctx; |
| 448 | if (streamer_) { |
| 449 | ctx = streamer_->create_context(); |
| 450 | } else { |
| 451 | flow_ctx = flow_.create_context(); |
| 452 | } |
| 453 | return Context::Pointer(new (std::nothrow) Context(ctx, flow_ctx)); |
| 454 | } |
| 455 | |
| 456 | int set_container(const std::string &name, const ailego::Params ¶ms) { |
| 457 | return flow_.set_storage(name, params); |
nothing calls this directly
no test coverage detected