MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / append

Method append

src/processor/operator/persistent/index_builder.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template<typename T>
27void IndexBufferWithWarningData<T>::append(T key, common::offset_t value,
28 OptionalWarningSourceData&& warningData) {
29 indexBuffer.push_back(std::make_pair(key, value));
30 if (warningData.has_value()) {
31 if (warningDataBuffer == nullptr) {
32 warningDataBuffer = std::make_unique<OptionalWarningDataBuffer::element_type>();
33 }
34 warningDataBuffer->push_back(warningData.value());
35 }
36}
37
38IndexBuilderGlobalQueues::IndexBuilderGlobalQueues(transaction::Transaction* transaction,
39 NodeTable* nodeTable)

Callers 4

appendNodeGroupMethod · 0.45
copyToNodeGroupMethod · 0.45
clearToIndexMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected