|
iceberg-cpp
|
Non-template base class for all UnboundPredicate instances. More...
#include <predicate.h>
Public Member Functions | |
| std::shared_ptr< NamedReference > | reference () override=0 |
| Returns the reference of this UnboundPredicate. | |
| Result< std::shared_ptr< Expression > > | Bind (const Schema &schema, bool case_sensitive) const override=0 |
| Bind this UnboundPredicate. | |
| Result< std::shared_ptr< Expression > > | Negate () const override=0 |
| Negate this UnboundPredicate. | |
| bool | is_unbound_predicate () const override |
| virtual const Term & | unbound_term () const =0 |
| Returns the term of this predicate as a base Term reference. | |
| virtual std::span< const Literal > | literals () const =0 |
| Returns the literals of this predicate. | |
Public Member Functions inherited from iceberg::Expression | |
| virtual Operation | op () const =0 |
| Returns the operation for an expression node. | |
| 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_bound_predicate () const |
| virtual bool | is_unbound_aggregate () 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. | |
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. | |
Non-template base class for all UnboundPredicate instances.
This class enables type erasure for template-based UnboundPredicate classes, allowing them to be used in non-template visitor interfaces.
|
overridepure virtual |
Bind this UnboundPredicate.
Implements iceberg::Unbound< Expression >.
Implemented in iceberg::UnboundPredicateImpl< B >.
|
inlineoverridevirtual |
Reimplemented from iceberg::Expression.
|
pure virtual |
Returns the literals of this predicate.
Implemented in iceberg::UnboundPredicateImpl< B >.
|
overridepure virtual |
Negate this UnboundPredicate.
Reimplemented from iceberg::Expression.
Implemented in iceberg::UnboundPredicateImpl< B >.
|
overridepure virtual |
Returns the reference of this UnboundPredicate.
Implements iceberg::Unbound< Expression >.
Implemented in iceberg::UnboundPredicateImpl< B >.
|
pure virtual |
Returns the term of this predicate as a base Term reference.
Implemented in iceberg::UnboundPredicateImpl< B >.