Top |
GParquetArrowFileReader is a class for reading Apache Parquet data from file and returns them as Apache Arrow data.
GParquetArrowFileReader * gparquet_arrow_file_reader_new_arrow (GArrowSeekableInputStream *source
,GError **error
);
Since: 0.11.0
GParquetArrowFileReader * gparquet_arrow_file_reader_new_path (const gchar *path
,GError **error
);
Since: 0.11.0
GArrowTable * gparquet_arrow_file_reader_read_table (GParquetArrowFileReader *reader
,GError **error
);
Since: 0.11.0
GArrowTable * gparquet_arrow_file_reader_read_row_group (GParquetArrowFileReader *reader
,gint row_group_index
,gint *column_indices
,gsize n_column_indices
,GError **error
);
reader |
||
row_group_index |
A row group index to be read. |
|
column_indices |
Column indices to be read. |
[array length=n_column_indices][nullable] |
n_column_indices |
The number of elements of |
|
error |
[nullable] |
Since: 1.0.0
GArrowSchema * gparquet_arrow_file_reader_get_schema (GParquetArrowFileReader *reader
,GError **error
);
Since: 0.12.0
GArrowChunkedArray * gparquet_arrow_file_reader_read_column_data (GParquetArrowFileReader *reader
,gint i
,GError **error
);
reader |
||
i |
The index of the column to be read.
If an index is negative, the index is counted backward from the
end of the columns. |
|
error |
[nullable] |
Since: 0.15.0
gint
gparquet_arrow_file_reader_get_n_row_groups
(GParquetArrowFileReader *reader
);
Since: 0.11.0
gint64
gparquet_arrow_file_reader_get_n_rows (GParquetArrowFileReader *reader
);
Since: 6.0.0
void gparquet_arrow_file_reader_set_use_threads (GParquetArrowFileReader *reader
,gboolean use_threads
);
GParquetFileMetadata *
gparquet_arrow_file_reader_get_metadata
(GParquetArrowFileReader *reader
);
Since: 8.0.0
#define GPARQUET_TYPE_ARROW_FILE_READER (gparquet_arrow_file_reader_get_type())
struct GParquetArrowFileReaderClass { GObjectClass parent_class; };
“arrow-file-reader”
property“arrow-file-reader” gpointer
The raw parquet::arrow::FileReader *.
Owner: GParquetArrowFileReader
Flags: Write / Construct Only