C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TFluentYsonBuilder::TAttributes< TParent > Class Template Reference

Fluent adapter of attributes fragment (the inside part of attributes). More...

#include <fluent.h>

Inheritance diagram for NYT::TFluentYsonBuilder::TAttributes< TParent >:
NYT::TFluentYsonBuilder::TFluentFragmentBase< TAttributes, TFluentYsonVoid > NYT::TFluentYsonBuilder::TFluentBase< TFluentYsonVoid >

Public Types

using TThis = TAttributes<TParent>
using TUnwrappedParent = typename TFluentYsonUnwrapper<TParent>::TUnwrapped
Public Types inherited from NYT::TFluentYsonBuilder::TFluentFragmentBase< TAttributes, TFluentYsonVoid >
using TDeepThis
using TShallowThis
using TUnwrappedParent

Public Member Functions

 TAttributes (NYT::NYson::IYsonConsumer *consumer, TParent parent=TParent())
TAny< TThis > Item (const TStringBuf &key)
 Pass attribute key to underlying consumer.
template<size_t Size>
TAny< TThis > Item (const char(&key)[Size])
 Pass attribute key to underlying consumer.
TUnwrappedParent EndAttributes ()
 Close the attributes.
Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentFragmentBase< TAttributes, TFluentYsonVoid >
 TFluentFragmentBase (NYT::NYson::IYsonConsumer *consumer, TFluentYsonVoid parent=TFluentYsonVoid())
TDeepThis & Do (const TFunc &func)
 Delegate invocation to a separate procedure.
TDeepThis & DoIf (bool condition, const TFunc &func)
 Conditionally delegate invocation to a separate procedure.
TDeepThis & DoFor (const TIterator &begin, const TIterator &end, const TFunc &func)
 Calls func(*this, element) for each element in range [begin, end).
Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentBase< TFluentYsonVoid >
 operator NYT::NYson::IYsonConsumer * () const
 Implicit conversion to yson consumer.

Detailed Description

template<class TParent = TFluentYsonVoid>
class NYT::TFluentYsonBuilder::TAttributes< TParent >

Fluent adapter of attributes fragment (the inside part of attributes).


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