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

Function num_columns

cpp/src/arrow/table.h:202–202  ·  view source on GitHub ↗

\brief Return the number of columns in the table

Source from the content-addressed store, hash-verified

200
201 /// \brief Return the number of columns in the table
202 int num_columns() const { return schema_->num_fields(); }
203
204 /// \brief Return the number of rows (equal to each column's logical length)
205 int64_t num_rows() const { return num_rows_; }

Callers 15

FlattenMethod · 0.70
ValidateMethod · 0.70
ValidateFullMethod · 0.70
ValidateMetaMethod · 0.70
ColumnNamesMethod · 0.70
RenameColumnsMethod · 0.70
SelectColumnsMethod · 0.70
EqualsMethod · 0.70
CombineChunksMethod · 0.70
SimpleRecordBatchClass · 0.70
SliceMethod · 0.70
ToStructArrayMethod · 0.70

Calls 1

num_fieldsMethod · 0.45

Tested by

no test coverage detected