|
iceberg-cpp
|
a field with its transform. More...
#include <partition_field.h>
Public Member Functions | |
| PartitionField (int32_t source_id, int32_t field_id, std::string name, std::shared_ptr< Transform > transform) | |
| Construct a field. | |
| int32_t | source_id () const |
| Get the source field ID. | |
| int32_t | field_id () const |
| Get the partition field ID. | |
| std::string_view | name () const |
| Get the partition field name. | |
| std::shared_ptr< Transform > const & | transform () const |
| Get the transform type. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
Friends | |
| bool | operator== (const PartitionField &lhs, const PartitionField &rhs) |
a field with its transform.
| iceberg::PartitionField::PartitionField | ( | int32_t | source_id, |
| int32_t | field_id, | ||
| std::string | name, | ||
| std::shared_ptr< Transform > | transform | ||
| ) |
Construct a field.
| [in] | source_id | The source field ID. |
| [in] | field_id | The partition field ID. |
| [in] | name | The partition field name. |
| [in] | transform | The transform function. |
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.