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

Method FinishField

cpp/src/arrow/csv/parser.cc:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123 template <typename DataWriter>
124 void FinishField(DataWriter* parsed_writer) {
125 derived()->PushValue(
126 {static_cast<uint32_t>(parsed_writer->size()) & 0x7fffffffU, quoted_});
127 }
128
129 Result<std::shared_ptr<Buffer>> Finish() {
130 RETURN_NOT_OK(values_buffer_->Resize(values_size_ * sizeof(*values_)));

Callers 1

ParseLineMethod · 0.80

Calls 2

PushValueMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected