C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TTableRangesReader< T, class > Class Template Reference

Class to facilitate reading table rows sorted by key. More...

#include <io.h>

Inheritance diagram for NYT::TTableRangesReader< T, class >:

Public Member Functions

TTableReader< T > & GetRange ()
 Get reader for rows with the same key.
bool IsValid () const
 Check whether all rows are read.
void Next ()
 Move cursor to the next range.

Detailed Description

template<class T, class>
class NYT::TTableRangesReader< T, class >

Class to facilitate reading table rows sorted by key.

Each reader returned from NYT::TTableRangesReader::GetRange represents a range of rows with the same key.

Note
Idiomatic usage:
for (; reader->IsValid(); reader->Next()) {
auto& rangeReader = reader->GetRange();
...
}

The documentation for this class was generated from the following file:
  • yt/cpp/mapreduce/interface/io.h