| 269 | |
| 270 | template <size_t BATCH_SIZE> |
| 271 | IndexStreamer::Context::UPointer FlatStreamer<BATCH_SIZE>::create_context() |
| 272 | const { |
| 273 | if (state_ != STATE_OPENED) { |
| 274 | LOG_ERROR("Failed to create Context, open storage first!"); |
| 275 | return Context::UPointer(); |
| 276 | } |
| 277 | return IndexStreamer::Context::Pointer( |
| 278 | new FlatStreamerContext<BATCH_SIZE>(this)); |
| 279 | } |
| 280 | |
| 281 | template <size_t BATCH_SIZE> |
| 282 | IndexProvider::Pointer FlatStreamer<BATCH_SIZE>::create_provider() const { |
nothing calls this directly
no outgoing calls
no test coverage detected