Top |
GObject ├── GParquetColumnChunkMetadata ├── GParquetFileMetadata ╰── GParquetRowGroupMetadata
GParquetColumnChunkMetadata is a class for column chunk level metadata.
GParquetRowGroupMetadata is a class for row group level metadata.
GParquetFileMetadata is a class for file level metadata.
gboolean gparquet_column_chunk_metadata_equal (GParquetColumnChunkMetadata *metadata
,GParquetColumnChunkMetadata *other_metadata
);
Since: 8.0.0
gint64
gparquet_column_chunk_metadata_get_total_size
(GParquetColumnChunkMetadata *metadata
);
Since: 8.0.0
gint64
gparquet_column_chunk_metadata_get_total_compressed_size
(GParquetColumnChunkMetadata *metadata
);
Total byte size of all the compressed (and potentially encrypted) data in this column chunk.
Since: 8.0.0
gint64
gparquet_column_chunk_metadata_get_file_offset
(GParquetColumnChunkMetadata *metadata
);
Since: 8.0.0
gboolean
gparquet_column_chunk_metadata_can_decompress
(GParquetColumnChunkMetadata *metadata
);
Since: 8.0.0
GParquetStatistics *
gparquet_column_chunk_metadata_get_statistics
(GParquetColumnChunkMetadata *metadata
);
Since: 8.0.0
gboolean gparquet_row_group_metadata_equal (GParquetRowGroupMetadata *metadata
,GParquetRowGroupMetadata *other_metadata
);
Since: 8.0.0
gint
gparquet_row_group_metadata_get_n_columns
(GParquetRowGroupMetadata *metadata
);
Since: 8.0.0
GParquetColumnChunkMetadata * gparquet_row_group_metadata_get_column_chunk (GParquetRowGroupMetadata *metadata
,gint index
,GError **error
);
Since: 8.0.0
gint64
gparquet_row_group_metadata_get_n_rows
(GParquetRowGroupMetadata *metadata
);
Since: 8.0.0
gint64
gparquet_row_group_metadata_get_total_size
(GParquetRowGroupMetadata *metadata
);
Since: 8.0.0
gint64
gparquet_row_group_metadata_get_total_compressed_size
(GParquetRowGroupMetadata *metadata
);
Total byte size of all the compressed (and potentially encrypted) column data in this row group.
Since: 8.0.0
gint64
gparquet_row_group_metadata_get_file_offset
(GParquetRowGroupMetadata *metadata
);
Byte offset from beginning of file to first page (data or dictionary) in this row group.
The file_offset
field that this method exposes is
optional. This method will return 0 if that field is not set to a
meaningful value.
Since: 8.0.0
gboolean
gparquet_row_group_metadata_can_decompress
(GParquetRowGroupMetadata *metadata
);
Since: 8.0.0
gboolean gparquet_file_metadata_equal (GParquetFileMetadata *metadata
,GParquetFileMetadata *other_metadata
);
Since: 8.0.0
gint
gparquet_file_metadata_get_n_columns (GParquetFileMetadata *metadata
);
The number of top-level columns in the schema.
Parquet thrift definition requires that nested schema elements are flattened. This method returns the number of columns in the un-flattened version.
Since: 8.0.0
gint
gparquet_file_metadata_get_n_schema_elements
(GParquetFileMetadata *metadata
);
The number of flattened schema elements.
Parquet thrift definition requires that nested schema elements are flattened. This method returns the total number of elements in the flattened list.
Since: 8.0.0
gint64
gparquet_file_metadata_get_n_rows (GParquetFileMetadata *metadata
);
Since: 8.0.0
gint
gparquet_file_metadata_get_n_row_groups
(GParquetFileMetadata *metadata
);
Since: 8.0.0
GParquetRowGroupMetadata * gparquet_file_metadata_get_row_group (GParquetFileMetadata *metadata
,gint index
,GError **error
);
Since: 8.0.0
const gchar *
gparquet_file_metadata_get_created_by (GParquetFileMetadata *metadata
);
Since: 8.0.0
guint32
gparquet_file_metadata_get_size (GParquetFileMetadata *metadata
);
Since: 8.0.0
gboolean
gparquet_file_metadata_can_decompress (GParquetFileMetadata *metadata
);
TRUE
if all of the row groups can be decompressed, FALSE
otherwise.
This will return false if any of the RowGroup's page is compressed with a compression format which is not compiled in the current Parquet library.
Since: 8.0.0
struct GParquetColumnChunkMetadataClass { GObjectClass parent_class; };
#define GPARQUET_TYPE_ROW_GROUP_METADATA (gparquet_row_group_metadata_get_type())
struct GParquetRowGroupMetadataClass { GObjectClass parent_class; };
typedef struct _GParquetColumnChunkMetadata GParquetColumnChunkMetadata;
“metadata”
property“metadata” gpointer
The raw parquet::ColumnChunkMetaData *.
Owner: GParquetColumnChunkMetadata
Flags: Write / Construct Only
“metadata”
property“metadata” gpointer
The raw std::shared_ptr<parquet::FileMetaData>.
Owner: GParquetFileMetadata
Flags: Write / Construct Only
“metadata”
property“metadata” gpointer
The raw parquet::RowGroupMetaData *.
Owner: GParquetRowGroupMetadata
Flags: Write / Construct Only