libcudf
24.04.00
|
Information about content of a parquet file. More...
#include <parquet_metadata.hpp>
Public Types | |
using | key_value_metadata = std::unordered_map< std::string, std::string > |
Key-value metadata in the file footer. | |
Public Member Functions | |
parquet_metadata (parquet_schema schema, int64_t num_rows, size_type num_rowgroups, key_value_metadata file_metadata) | |
constructor More... | |
auto const & | schema () const |
Returns the parquet schema. More... | |
auto | num_rows () const |
Returns the number of rows of the root column. More... | |
auto | num_rowgroups () const |
Returns the number of rowgroups in the file. More... | |
auto const & | metadata () const |
Returns the Key value metadata in the file footer. More... | |
Information about content of a parquet file.
Definition at line 164 of file parquet_metadata.hpp.
|
inline |
constructor
schema | parquet schema |
num_rows | number of rows |
num_rowgroups | number of row groups |
file_metadata | key-value metadata in the file footer |
Definition at line 177 of file parquet_metadata.hpp.
|
inline |
Returns the Key value metadata in the file footer.
Definition at line 215 of file parquet_metadata.hpp.
|
inline |
Returns the number of rowgroups in the file.
Definition at line 209 of file parquet_metadata.hpp.
|
inline |
Returns the number of rows of the root column.
If a file contains list columns, nested columns can have a different number of rows.
Definition at line 202 of file parquet_metadata.hpp.
|
inline |
Returns the parquet schema.
Definition at line 193 of file parquet_metadata.hpp.