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

Method Visit

cpp/src/arrow/record_batch.cc:628–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626struct StringBuilderVisitor {
627 template <typename DataType>
628 enable_if_has_string_view<DataType, Status> Visit(const DataType&,
629 ArrayBuilder* raw_builder,
630 const std::string& value) {
631 using Builder = typename TypeTraits<DataType>::BuilderType;
632 auto builder = static_cast<Builder*>(raw_builder);
633 return builder->Append(value);
634 }
635
636 Status Visit(const DataType& type, ArrayBuilder*, const std::string&) {
637 return Status::Invalid("Only string types are supported and the current type is ",

Callers

nothing calls this directly

Calls 3

InvalidFunction · 0.70
AppendMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected