|
C++ YT Wrapper
C++ library for working with YT clusters
|
List of TSortColumn. More...
#include <common.h>
Public Member Functions | |
| TSortColumns () | |
| Construct empty list. | |
| operator TColumnNames () const | |
| Implicit conversion to column list. | |
| const TSortColumns & | EnsureAscending () const |
| Make sure that all columns are of ascending sort order. | |
| TVector< TString > | GetNames () const |
| Get list of column names. | |
| TSortColumns (const TVector< TString > &names) | |
| Construct list of ascending sort order columns by their names. | |
| TSortColumns (const TColumnNames &names) | |
| Public Member Functions inherited from NYT::TOneOrMany< TSortColumn, TSortColumns > | |
| TOneOrMany ()=default | |
| Initialize with empty sequence. | |
| bool | operator== (const TOneOrMany &rhs) const |
| Order is defined the same way as in TVector. | |
| TSelf & | Add (U &&part, TArgs &&... args) & |
| Add all arguments to sequence. | |
Additional Inherited Members | |
| Public Attributes inherited from NYT::TOneOrMany< TSortColumn, TSortColumns > | |
| TVector< TSortColumn > | Parts_ |
| Content of sequence. | |
List of TSortColumn.
Contains a bunch of helper methods such as constructing from single object.
| NYT::TSortColumns::TSortColumns | ( | const TVector< TString > & | names | ) |
Construct list of ascending sort order columns by their names.
Required for backward compatibility.
| NYT::TSortColumns::operator TColumnNames | ( | ) | const |
Implicit conversion to column list.
If all columns has ascending sort order return list of their names. Throw exception otherwise.
Required for backward compatibility.