C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::ISkiffRowParser Class Referenceabstract

#include <skiff_row.h>

Inheritance diagram for NYT::ISkiffRowParser:

Public Member Functions

virtual void Parse (NSkiff::TCheckedInDebugSkiffParser *)=0
 Read one row from parser.

Detailed Description

Allow to parse rows as user's structs from stream (TCheckedInDebugSkiffParser). Need to write derived class for your own row type.

Example:

class TMySkiffRowParser : public ISkiffRowParser { public: TMySkiffRowParser(TMySkiffRow* row) : Row_(row) {}

void Parse(NSkiff::TCheckedInDebugSkiffParser* parser) . { Row_->SomeInt64Field = parser->ParseInt64(); }

private: TMySkiffRow* Row_; }


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