24#ifndef _TABLE_TABLEREADER_H
25#define _TABLE_TABLEREADER_H
105 virtual void skip(
long rows) = 0;
Provides information about the columns of a Table.
Interface for classes reading tables.
virtual bool hasMoreRows()=0
Checks if there are any rows left to read.
virtual std::string getComment()=0
TableReader & operator=(const TableReader &)=delete
virtual const ColumnInfo & getInfo()=0
Returns the column information of the table.
virtual void skip(long rows)=0
Skips next rows.
TableReader & operator=(TableReader &&)=default
virtual Table readImpl(long rows)=0
Method to be implemented by subclasses for reading the table.
Table read(long rows=-1)
Reads next rows as a table.
virtual std::size_t rowsLeft()=0
Returns the number of rows left to read.
TableReader(const TableReader &)=delete
virtual ~TableReader()=default
TableReader(TableReader &&)=default