MCPcopy Create free account
hub / github.com/bytedance/bolt / getReaderFactory

Function getReaderFactory

bolt/dwio/common/ReaderFactory.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63std::shared_ptr<ReaderFactory> getReaderFactory(FileFormat format) {
64 auto it = readerFactories().find(format);
65 BOLT_CHECK(
66 it != readerFactories().end(),
67 "ReaderFactory is not registered for format {}",
68 toString(format));
69 return it->second;
70}
71
72} // namespace bytedance::bolt::dwio::common

Callers 3

readFileSchemaMethod · 0.85
getRowTypeForFileMethod · 0.85
prepareSplitMethod · 0.85

Calls 3

toStringFunction · 0.70
findMethod · 0.45
endMethod · 0.45

Tested by 1

readFileSchemaMethod · 0.68