|
iceberg-cpp
|
A reference to an unbound named field. More...
#include <term.h>
Public Member Functions | |
| std::string_view | name () const override |
| Returns the name of the referenced field. | |
| Result< std::shared_ptr< BoundReference > > | Bind (const Schema &schema, bool case_sensitive) const override |
| Bind this expression to a concrete schema. | |
| std::shared_ptr< NamedReference > | reference () override |
| Returns the underlying named reference for this unbound term. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
| Kind | kind () const override |
| Returns the kind of this term. | |
Public Member Functions inherited from iceberg::UnboundTerm< BoundReference > | |
| bool | is_unbound () const override |
| Returns whether this term is unbound. | |
Public Member Functions inherited from iceberg::Unbound< B > | |
| Result< std::shared_ptr< B > > | Bind (const Schema &schema) const |
| Overloaded Bind method that uses case-sensitive matching by default. | |
Static Public Member Functions | |
| static Result< std::unique_ptr< NamedReference > > | Make (std::string field_name) |
| Create a named reference to a field. | |
Additional Inherited Members | |
Public Types inherited from iceberg::UnboundTerm< BoundReference > | |
| using | BoundType = BoundReference |
Public Types inherited from iceberg::Term | |
| enum class | Kind : uint8_t { kReference , kTransform , kExtract } |
A reference to an unbound named field.
|
overridevirtual |
Bind this expression to a concrete schema.
| schema | The schema to bind against |
| case_sensitive | Whether field name matching should be case sensitive |
Implements iceberg::Unbound< B >.
|
inlineoverridevirtual |
Returns the kind of this term.
Implements iceberg::Term.
|
static |
Create a named reference to a field.
| field_name | The name of the field to reference |
|
inlineoverridevirtual |
Returns the name of the referenced field.
Implements iceberg::Reference.
|
inlineoverridevirtual |
Returns the underlying named reference for this unbound term.
Implements iceberg::Unbound< B >.
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.