Scanner C++ API
Public Member Functions | Protected Attributes | List of all members
scanner::internal::Partitioner Class Referenceabstract

Public Member Functions

 Partitioner (const std::string &name, i64 num_rows)
 
const std::string & name () const
 
virtual Result validate ()=0
 
virtual i64 total_rows () const =0
 
virtual i64 total_groups () const =0
 
virtual std::vector< i64 > total_rows_per_group () const =0
 
virtual PartitionGroup next_group ()=0
 
virtual void reset ()=0
 
virtual PartitionGroup group_at (i64 group_idx)=0
 
virtual i64 offset_at_group (i64 group_idx) const =0
 

Protected Attributes

std::string name_
 
i64 num_rows_
 

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