|
iceberg-cpp
|
Base class for metadata table scan tasks. More...
#include <metadata_scan_task.h>
Public Types | |
| enum class | TaskKind { kStatic } |
| Task category, determines how the reader opens the task. More... | |
Public Member Functions | |
| virtual TaskKind | task_kind () const =0 |
| Return how this task is read. | |
| virtual MetadataTableKind | table_kind () const =0 |
| Return the metadata table whose rows this task produces. | |
Base class for metadata table scan tasks.
Metadata tables expose table metadata (snapshots, history, etc.) as queryable Arrow tables. A task is a unit of work opened by MetadataScanTaskReader.
|
strong |
Task category, determines how the reader opens the task.
| Enumerator | |
|---|---|
| kStatic | StaticMetadataTask reads in-memory table metadata (snapshots, history, refs). |
|
pure virtual |
Return the metadata table whose rows this task produces.
Implemented in iceberg::StaticMetadataTask.
|
pure virtual |
Return how this task is read.
Implemented in iceberg::StaticMetadataTask.