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

Method Write

cpp/src/parquet/arrow/path_internal.cc:900–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898 }
899
900 ::arrow::Status Write(int leaf_index, ArrowWriteContext* context,
901 CallbackFunction write_leaf_callback) override {
902 if (ARROW_PREDICT_FALSE(leaf_index < 0 || leaf_index >= GetLeafCount())) {
903 return Status::Invalid("Column index out of bounds (got ", leaf_index,
904 ", should be "
905 "between 0 and ",
906 GetLeafCount(), ")");
907 }
908
909 return WritePath(root_range_, &path_builder_->paths()[leaf_index], context,
910 std::move(write_leaf_callback));
911 }
912
913 private:
914 ElementRange root_range_;

Callers

nothing calls this directly

Calls 2

WritePathFunction · 0.85
InvalidFunction · 0.50

Tested by

no test coverage detected