|
iceberg-cpp
|
A bound transform expression. More...
#include <term.h>
Public Member Functions | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
| Result< Literal > | Evaluate (const StructLike &data) const override |
| Evaluate this expression against a row-based data. | |
| std::shared_ptr< BoundReference > | reference () override |
| Returns the underlying bound reference for this term. | |
| std::shared_ptr< Type > | type () const override |
| Returns the type produced by this term. | |
| bool | MayProduceNull () const override |
| Returns whether this term may produce null values. | |
| bool | Equals (const BoundTerm &other) const override |
| Returns whether this term is equivalent to another. | |
| const std::shared_ptr< Transform > & | transform () const |
| Kind | kind () const override |
| Returns the kind of this term. | |
Public Member Functions inherited from iceberg::BoundTerm | |
| bool | is_unbound () const override |
| Returns whether this term is unbound. | |
Static Public Member Functions | |
| static Result< std::unique_ptr< BoundTransform > > | Make (std::shared_ptr< BoundReference > ref, std::shared_ptr< Transform > transform, std::shared_ptr< TransformFunction > transform_func) |
| Create a bound transform. | |
Additional Inherited Members | |
Public Types inherited from iceberg::Term | |
| enum class | Kind : uint8_t { kReference , kTransform , kExtract } |
A bound transform expression.
|
overridevirtual |
Returns whether this term is equivalent to another.
Two terms are equivalent if they produce the same values when evaluated.
| other | Another bound term to compare against |
Implements iceberg::BoundTerm.
|
overridevirtual |
Evaluate this expression against a row-based data.
Implements iceberg::Bound.
|
inlineoverridevirtual |
Returns the kind of this term.
Implements iceberg::Term.
|
static |
Create a bound transform.
| ref | The bound term to apply the transformation to |
| transform | The transform to apply |
| transform_func | The bound transform function to apply |
|
overridevirtual |
Returns whether this term may produce null values.
Implements iceberg::BoundTerm.
|
inlineoverridevirtual |
Returns the underlying bound reference for this term.
Implements iceberg::Bound.
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.
|
overridevirtual |
Returns the type produced by this term.
Implements iceberg::BoundTerm.