MCPcopy Create free account
hub / github.com/ByConity/ByConity / writeData

Function writeData

programs/library-bridge/LibraryBridgeHandlers.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79
80static void writeData(Block data, OutputFormatPtr format)
81{
82 auto source = std::make_shared<SourceFromSingleChunk>(std::move(data));
83 auto pipe = Pipe(std::move(source));
84 QueryPipeline pipeline;
85 pipeline.init(std::move(pipe));
86 pipeline.complete(std::move(format));
87
88 CompletedPipelineExecutor executor(pipeline);
89 executor.execute();
90}
91
92
93ExternalDictionaryLibraryBridgeRequestHandler::ExternalDictionaryLibraryBridgeRequestHandler(size_t keep_alive_timeout_, ContextPtr context_)

Callers 1

handleRequestMethod · 0.70

Calls 4

PipeClass · 0.50
initMethod · 0.45
completeMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected