C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
skiff_row.h File Reference

Go to the source code of this file.

Classes

struct  NYT::TIsSkiffRow< T >
class  NYT::ISkiffRowParser
class  NYT::ISkiffRowSkipper
class  NYT::TSkiffRowSkipper< T >
 Default ISkiffRowSkipper implementation. More...

Namespaces

namespace  NYT
 Main namespace of YT client.

Functions

template<typename T>
NSkiff::TSkiffSchemaPtr NYT::GetSkiffSchema (const TMaybe< TSkiffRowHints > &)
template<typename T>
NSkiff::TSkiffSchemaPtr NYT::GetParserSkiffSchema (const TMaybe< TSkiffRowHints > &hints)
template<typename T>
ISkiffRowParserPtr NYT::CreateSkiffParser (T *, const TMaybe< TSkiffRowHints > &)
 Creates a parser for row type T.
template<typename T>
ISkiffRowSkipperPtr NYT::CreateSkiffSkipper (const TMaybe< TSkiffRowHints > &hints)

Detailed Description

Header containing interfaces that you need to define for using TSkiffRowTableReader What you need to do for your struct type TMyType:

  1. Write true specialization TIsSkiffRow<TMyType>;
  2. Write specialization GetSkiffSchema<TMyType>();
  3. Write your own parser derived from ISkiffRowParser and write specialization GetSkiffParser<TMyType>() which returns this parser.