|
iceberg-cpp
|
Template for unbound aggregates that carry a term and operation. More...
#include <aggregate.h>
Public Member Functions | |
| std::shared_ptr< NamedReference > | reference () override |
| Returns the underlying named reference for this unbound term. | |
| Result< std::shared_ptr< Expression > > | Bind (const Schema &schema, bool case_sensitive) const override |
| Bind this expression to a concrete schema. | |
Public Member Functions inherited from iceberg::UnboundAggregate | |
| bool | is_unbound_aggregate () const override |
Public Member Functions inherited from iceberg::Expression | |
| virtual Result< std::shared_ptr< Expression > > | Negate () const |
| Returns the negation of this expression, equivalent to not(this). | |
| virtual bool | Equals (const Expression &other) const |
| Returns whether this expression will accept the same values as another. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
| virtual bool | is_unbound_predicate () const |
| virtual bool | is_bound_predicate () const |
| virtual bool | is_bound_aggregate () const |
Public Member Functions inherited from iceberg::Unbound< Expression > | |
| Result< std::shared_ptr< Expression > > | Bind (const Schema &schema) const |
| Overloaded Bind method that uses case-sensitive matching by default. | |
Public Member Functions inherited from iceberg::Aggregate< UnboundTerm< B > > | |
| Expression::Operation | op () const override |
| Returns the operation for an expression node. | |
| const std::shared_ptr< T > & | term () const |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
Static Public Member Functions | |
| static Result< std::shared_ptr< UnboundAggregateImpl< B > > > | Make (Expression::Operation op, std::shared_ptr< UnboundTerm< B > > term) |
Additional Inherited Members | |
Public Types inherited from iceberg::Expression | |
| enum class | Operation { kTrue , kFalse , kIsNull , kNotNull , kIsNan , kNotNan , kLt , kLtEq , kGt , kGtEq , kEq , kNotEq , kIn , kNotIn , kNot , kAnd , kOr , kStartsWith , kNotStartsWith , kCount , kCountNull , kCountStar , kMax , kMin } |
| Operation types for expressions. | |
Protected Member Functions inherited from iceberg::Aggregate< UnboundTerm< B > > | |
| Aggregate (Expression::Operation op, std::shared_ptr< T > term) | |
Static Protected Member Functions inherited from iceberg::Aggregate< UnboundTerm< B > > | |
| static constexpr bool | IsSupportedOp (Expression::Operation op) |
Protected Attributes inherited from iceberg::Aggregate< UnboundTerm< B > > | |
| Expression::Operation | operation_ |
| std::shared_ptr< T > | term_ |
Template for unbound aggregates that carry a term and operation.
|
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< Expression >.
|
inlineoverridevirtual |
Returns the underlying named reference for this unbound term.
Implements iceberg::Unbound< Expression >.