|
iceberg-cpp
|
a field with its transform. More...
#include <sort_field.h>
Public Member Functions | |
| SortField (int32_t source_id, std::shared_ptr< Transform > transform, SortDirection direction, NullOrder null_order) | |
| Construct a field. | |
| int32_t | source_id () const |
| Get the source field ID. | |
| const std::shared_ptr< Transform > & | transform () const |
| Get the transform type. | |
| SortDirection | direction () const |
| Get the sort direction. | |
| NullOrder | null_order () const |
| Get the null order. | |
| bool | Satisfies (const SortField &other) const |
| Checks whether this field's order satisfies another field's order. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
Friends | |
| bool | operator== (const SortField &lhs, const SortField &rhs) |
a field with its transform.
| iceberg::SortField::SortField | ( | int32_t | source_id, |
| std::shared_ptr< Transform > | transform, | ||
| SortDirection | direction, | ||
| NullOrder | null_order | ||
| ) |
Construct a field.
| [in] | source_id | The source field ID. |
| [in] | transform | The transform function. |
| [in] | direction | The sort direction. |
| [in] | null_order | The null order. |
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.