|
iceberg-cpp
|
An Expression that is always true. More...
#include <expression.h>
Public Member Functions | |
| Operation | op () const override |
| Returns the operation for an expression node. | |
| std::string | ToString () const override |
| Get a user-readable string representation. | |
| Result< std::shared_ptr< Expression > > | Negate () const override |
| Returns the negation of this expression, equivalent to not(this). | |
| bool | Equals (const Expression &other) const override |
| Returns whether this expression will accept the same values as another. | |
Public Member Functions inherited from iceberg::Expression | |
| virtual bool | is_unbound_predicate () const |
| virtual bool | is_bound_predicate () const |
| virtual bool | is_unbound_aggregate () const |
| virtual bool | is_bound_aggregate () const |
Static Public Member Functions | |
| static const std::shared_ptr< True > & | Instance () |
| Returns the singleton instance. | |
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. | |
An Expression that is always true.
Represents a boolean predicate that always evaluates to true.
|
inlineoverridevirtual |
Returns whether this expression will accept the same values as another.
| other | another expression |
Reimplemented from iceberg::Expression.
|
overridevirtual |
Returns the negation of this expression, equivalent to not(this).
Reimplemented from iceberg::Expression.
|
inlineoverridevirtual |
Returns the operation for an expression node.
Implements iceberg::Expression.
|
inlineoverridevirtual |
Get a user-readable string representation.
Reimplemented from iceberg::Expression.