C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::ITableFragmentWriter< T > Class Template Referenceabstract

Class template for distributed table API fragment writer. More...

#include <io.h>

Inheritance diagram for NYT::ITableFragmentWriter< T >:

Public Member Functions

virtual TWriteTableFragmentResult GetWriteFragmentResult () const =0
 Get object with session-specific table fragment write information.
virtual void AddRow (const T &row)=0
 Submit a row for writing.
virtual void Finish ()=0
 Completes writing and makes write fragment result available.

Detailed Description

template<class T>
class NYT::ITableFragmentWriter< T >

Class template for distributed table API fragment writer.

Write fragment result may be obtained after writer is closed. NB(achains): TTableFragmentWriter is not a derivative of TTableWriter on purpose. Due to different semantics and the necessity of closing writer.

Member Function Documentation

◆ Finish()

template<class T>
virtual void NYT::ITableFragmentWriter< T >::Finish ( )
pure virtual

Completes writing and makes write fragment result available.

No other data can be written after Finish is called.

◆ GetWriteFragmentResult()

template<class T>
virtual TWriteTableFragmentResult NYT::ITableFragmentWriter< T >::GetWriteFragmentResult ( ) const
pure virtual

Get object with session-specific table fragment write information.

Only use after Finish() is called.


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