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

Method column

cpp/src/parquet/file_writer.cc:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 ColumnWriter* column(int i) override {
155 if (!buffered_row_group_) {
156 throw ParquetException(
157 "column() is only supported when a BufferedRowGroup is being written");
158 }
159
160 if (i >= 0 && i < static_cast<int>(column_writers_.size())) {
161 return column_writers_[i].get();
162 }
163 return nullptr;
164 }
165
166 int current_column() const override { return metadata_->current_column(); }
167

Callers

nothing calls this directly

Calls 3

ParquetExceptionFunction · 0.85
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected