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

Go to the source code of this file.

Classes

class  NYT::TProtoOneOf< TProtoRowTypes >
 "Marker" type to use for several protobuf types in NYT::TTableReader. More...
class  NYT::TSkiffRowOneOf< TSkiffRowTypes >
 "Marker" type to use for several skiff row types in NYT::TTableReader. More...
class  NYT::TIOException
 Class of exceptions connected to reading or writing tables or files. More...
class  NYT::IFileReader
 Interface representing YT file reader. More...
class  NYT::IFileWriter
 Interface representing YT file writer. More...
class  NYT::IFileFragmentWriter
class  NYT::TRawTableReader
 Low-level interface to read YT table with retries. More...
class  NYT::TRawTableWriter
 Low-level interface to write YT table. More...
class  NYT::IProxyOutput
 Interface to deal with multiple raw output streams. More...
class  NYT::TTableReader< T, class >
 Class template to read typed rows from YT tables. More...
class  NYT::TTableReaderIterator< T >
 Iterator for use in range-based-for. More...
class  NYT::TTableRangesReader< T, class >
 Class to facilitate reading table rows sorted by key. More...
class  NYT::TTableWriter< T, class >
 Class template to write typed rows to YT tables. More...
class  NYT::ITableFragmentWriter< T >
 Class template for distributed table API fragment writer. More...
struct  NYT::TYaMRRow
 Type representing YaMR table row. More...
class  NYT::IIOClient
 Interface for creating table and file readers and writer. More...

Namespaces

namespace  NYT
 Main namespace of YT client.

Functions

template<class T>
TTableReaderIterator< T > NYT::begin (TTableReader< T > &reader)
 Function to facilitate range-based-for for NYT::TTableReader.
template<class T>
TTableReaderIterator< T > NYT::end (TTableReader< T > &)
 Function to facilitate range-based-for for NYT::TTableReader.
template<typename T>
TTableReaderPtr< T > NYT::CreateTableReader (IInputStream *stream, const TTableReaderOptions &options={})
 Create a protobuf table reader from a stream.
template<class... Ts>
TTableReaderPtr< typename NDetail::TProtoOneOfUnique< Ts... >::TType > NYT::CreateProtoMultiTableReader (IInputStream *stream, const TTableReaderOptions &options={})
 Create a protobuf multi table reader from a stream.
template<class T>
TTableReaderPtr< T > NYT::CreateProtoMultiTableReader (IInputStream *stream, int tableCount, const TTableReaderOptions &options={})
 Create a homogeneous protobuf multi table reader from a stream.
template<>
TTableReaderPtr< TNode > NYT::CreateTableReader< TNode > (IInputStream *stream, const TTableReaderOptions &options)
 Create a NYT::TNode table reader from a stream.
template<>
TTableReaderPtr< TYaMRRow > NYT::CreateTableReader< TYaMRRow > (IInputStream *stream, const TTableReaderOptions &options)
 Create a NYT::TYaMRRow table reader from a stream.
::TIntrusivePtr< IProtoReaderImpl > NYT::NDetail::CreateProtoReader (IInputStream *stream, const TTableReaderOptions &options, const ::google::protobuf::Descriptor *descriptor)
 Create a protobuf table reader from a stream.
::TIntrusivePtr< IProtoReaderImpl > NYT::NDetail::CreateProtoReader (IInputStream *stream, const TTableReaderOptions &options, TVector< const ::google::protobuf::Descriptor * > descriptors)
 Create a protobuf table reader from a stream that can contain table switches.
template<typename T>
TTableReaderPtr< T > NYT::CreateConcreteProtobufReader (TTableReader< Message > *reader)
 Convert generic protobuf table reader to a concrete one (for certain type T).
template<typename T>
TTableReaderPtr< T > NYT::CreateConcreteProtobufReader (const TTableReaderPtr< Message > &reader)
 Convert generic protobuf table reader to a concrete one (for certain type T).
template<typename T>
TTableReaderPtr< Message > NYT::CreateGenericProtobufReader (TTableReader< T > *reader)
 Convert a concrete (for certain type T) protobuf table reader to a generic one.
template<typename T>
TTableReaderPtr< Message > NYT::CreateGenericProtobufReader (const TTableReaderPtr< T > &reader)
 Convert a concrete (for certain type T) protobuf table reader to a generic one.

Detailed Description

Header containing client interface for reading and writing tables and files.