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

An abstract scan task. More...

#include <table_scan.h>

Inheritance diagram for iceberg::ScanTask:
iceberg::ChangelogScanTask iceberg::FileScanTask iceberg::AddedRowsScanTask iceberg::DeletedDataFileScanTask

Public Types

enum class  Kind : uint8_t { kFileScanTask , kChangelogScanTask }
 

Public Member Functions

virtual Kind kind () const =0
 The kind of scan task.
 
virtual int64_t size_bytes () const =0
 The number of bytes that should be read by this scan task.
 
virtual int32_t files_count () const =0
 The number of files that should be read by this scan task.
 
virtual int64_t estimated_row_count () const =0
 The number of rows that should be read by this scan task.
 

Detailed Description

An abstract scan task.

Member Function Documentation

◆ estimated_row_count()

virtual int64_t iceberg::ScanTask::estimated_row_count ( ) const
pure virtual

The number of rows that should be read by this scan task.

Implemented in iceberg::FileScanTask, and iceberg::ChangelogScanTask.

◆ files_count()

virtual int32_t iceberg::ScanTask::files_count ( ) const
pure virtual

The number of files that should be read by this scan task.

Implemented in iceberg::FileScanTask, and iceberg::ChangelogScanTask.

◆ kind()

virtual Kind iceberg::ScanTask::kind ( ) const
pure virtual

The kind of scan task.

Implemented in iceberg::FileScanTask, and iceberg::ChangelogScanTask.

◆ size_bytes()

virtual int64_t iceberg::ScanTask::size_bytes ( ) const
pure virtual

The number of bytes that should be read by this scan task.

Implemented in iceberg::FileScanTask, and iceberg::ChangelogScanTask.


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