|
C++ YT Wrapper
C++ library for working with YT clusters
|
Fluent adapter of a value without attributes. More...
#include <fluent.h>
Public Types | |
| using | TUnwrappedParent = typename TFluentYsonUnwrapper<TParent>::TUnwrapped |
Public Member Functions | |
| TAnyWithoutAttributes (NYT::NYson::IYsonConsumer *consumer, TParent parent) | |
| template<class T> | |
| TUnwrappedParent | Value (const T &value) |
| Pass value to underlying consumer. | |
| TUnwrappedParent | Entity () |
| Call OnEntity() of underlying consumer. | |
| template<class TCollection> | |
| TUnwrappedParent | List (const TCollection &collection) |
| Serialize collection to underlying consumer as a list. | |
| template<class TCollection> | |
| TUnwrappedParent | ListLimited (const TCollection &collection, size_t maxSize) |
| Serialize maximum maxSize elements of collection to underlying consumer as a list. | |
| TListType< TParent > | BeginList () |
| Open a list. | |
| template<class TFunc> | |
| TUnwrappedParent | DoList (const TFunc &func) |
| Open a list, delegate invocation to func, then close the list. | |
| template<class TFunc, class TIterator> | |
| TUnwrappedParent | DoListFor (const TIterator &begin, const TIterator &end, const TFunc &func) |
| Open a list, call func(*this, element) for each element of range, then close the list. | |
| template<class TFunc, class TCollection> | |
| TUnwrappedParent | DoListFor (const TCollection &collection, const TFunc &func) |
| Open a list, call func(*this, element) for each element of collection, then close the list. | |
| TMapType< TParent > | BeginMap () |
| Open a map. | |
| template<class TFunc> | |
| TUnwrappedParent | DoMap (const TFunc &func) |
| Open a map, delegate invocation to func, then close the map. | |
| template<class TFunc, class TIterator> | |
| TUnwrappedParent | DoMapFor (const TIterator &begin, const TIterator &end, const TFunc &func) |
| Open a map, call func(*this, element) for each element of range, then close the map. | |
| template<class TFunc, class TCollection> | |
| TUnwrappedParent | DoMapFor (const TCollection &collection, const TFunc &func) |
| Open a map, call func(*this, element) for each element of collection, then close the map. | |
| Public Member Functions inherited from NYT::TFluentYsonBuilder::TFluentBase< TParent > | |
| operator NYT::NYson::IYsonConsumer * () const | |
| Implicit conversion to yson consumer. | |
Fluent adapter of a value without attributes.