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

Method FinishField

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

Source from the content-addressed store, hash-verified

130
131 template <typename DataWriter>
132 void FinishField(DataWriter* parsed_writer) {
133 derived()->PushValue(
134 {static_cast<uint32_t>(parsed_writer->size()) & 0x7fffffffU, quoted_});
135 }
136
137 Result<std::shared_ptr<Buffer>> Finish() {
138 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