MCPcopy Create free account
hub / github.com/apache/arrow / FindFirst

Method FindFirst

cpp/src/arrow/csv/chunker.cc:275–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 : options_(std::move(options)), lexer_(options_) {}
274
275 Status FindFirst(std::string_view partial, std::string_view block,
276 int64_t* out_pos) override {
277 lexer_.Reset();
278 if (lexer_.ShouldUseBulkFilter(block.data(), block.data() + block.size())) {
279 return FindFirstInternal<true>(partial, block, out_pos);
280 } else {
281 return FindFirstInternal<false>(partial, block, out_pos);
282 }
283 }
284
285 template <bool UseBulkFilter>
286 Status FindFirstInternal(std::string_view partial, std::string_view block,

Callers

nothing calls this directly

Calls 4

ShouldUseBulkFilterMethod · 0.80
ResetMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected