iceberg-cpp
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
iceberg::MetadataScanTask Class Referenceabstract

Base class for metadata table scan tasks. More...

#include <metadata_scan_task.h>

Inheritance diagram for iceberg::MetadataScanTask:
iceberg::StaticMetadataTask

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.
 

Detailed Description

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.

Member Enumeration Documentation

◆ TaskKind

Task category, determines how the reader opens the task.

Enumerator
kStatic 

StaticMetadataTask reads in-memory table metadata (snapshots, history, refs).

Member Function Documentation

◆ table_kind()

virtual MetadataTableKind iceberg::MetadataScanTask::table_kind ( ) const
pure virtual

Return the metadata table whose rows this task produces.

Implemented in iceberg::StaticMetadataTask.

◆ task_kind()

virtual TaskKind iceberg::MetadataScanTask::task_kind ( ) const
pure virtual

Return how this task is read.

Implemented in iceberg::StaticMetadataTask.


The documentation for this class was generated from the following file: