|
iceberg-cpp
|
A reference to a bound field. More...
#include <term.h>
Public Member Functions | |
| const SchemaField & | field () const |
| std::string_view | name () const override |
| Returns the name of the referenced field. | |
| 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. | |
| int32_t | field_id () const |
| 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. | |
| Kind | kind () const override |
| Returns the kind of this term. | |
| const StructLikeAccessor & | accessor () const |
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< BoundReference > > | Make (SchemaField field, std::unique_ptr< StructLikeAccessor > accessor) |
| Create a bound reference. | |
Additional Inherited Members | |
Public Types inherited from iceberg::Term | |
| enum class | Kind : uint8_t { kReference , kTransform , kExtract } |
A reference to a bound field.
|
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 reference.
| field | The schema field |
|
inlineoverridevirtual |
Returns whether this term may produce null values.
Implements iceberg::BoundTerm.
|
inlineoverridevirtual |
Returns the name of the referenced field.
Implements iceberg::Reference.
|
inlineoverridevirtual |
Returns the underlying bound reference for this term.
Implements iceberg::Bound.
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.
|
inlineoverridevirtual |
Returns the type produced by this term.
Implements iceberg::BoundTerm.