iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iceberg::TableScan Class Reference

Represents a configured scan operation on a table. More...

#include <table_scan.h>

Inheritance diagram for iceberg::TableScan:
iceberg::IncrementalScan< FileScanTask > iceberg::IncrementalScan< ChangelogScanTask > iceberg::DataTableScan iceberg::IncrementalScan< ScanTaskType > iceberg::IncrementalAppendScan iceberg::IncrementalChangelogScan

Public Member Functions

const std::shared_ptr< TableMetadata > & metadata () const
 Returns the table metadata being scanned.
 
Result< std::shared_ptr< Snapshot > > snapshot () const
 Returns the snapshot to scan. If there is no snapshot, returns nullptr.
 
Result< std::shared_ptr< Schema > > schema () const
 Returns the projected schema for the scan.
 
const internal::TableScanContextcontext () const
 Returns the scan context.
 
const std::shared_ptr< FileIO > & io () const
 Returns the file I/O instance used for reading files.
 
const std::shared_ptr< Expression > & filter () const
 Returns this scan's filter expression.
 
bool is_case_sensitive () const
 Returns whether this scan is case-sensitive.
 

Protected Member Functions

 TableScan (std::shared_ptr< TableMetadata > metadata, std::shared_ptr< Schema > schema, std::shared_ptr< FileIO > io, internal::TableScanContext context)
 
Result< std::reference_wrapper< const std::shared_ptr< Schema > > > ResolveProjectedSchema () const
 
virtual const std::vector< std::string > & ScanColumns () const
 

Protected Attributes

const std::shared_ptr< TableMetadatametadata_
 
const std::shared_ptr< Schemaschema_
 
const std::shared_ptr< FileIOio_
 
const internal::TableScanContext context_
 
std::shared_ptr< Schemaprojected_schema_
 

Detailed Description

Represents a configured scan operation on a table.


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