|
iceberg-cpp
|
Base aggregate holding an operation and a term. More...
#include <aggregate.h>
Public Member Functions | |
| 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. | |
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_unbound_aggregate () const |
| virtual bool | is_bound_aggregate () const |
Protected Member Functions | |
| Aggregate (Expression::Operation op, std::shared_ptr< T > term) | |
Static Protected Member Functions | |
| static constexpr bool | IsSupportedOp (Expression::Operation op) |
Protected Attributes | |
| Expression::Operation | operation_ |
| std::shared_ptr< T > | 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. | |
Base aggregate holding an operation and a term.
|
inlineoverridevirtual |
Returns the operation for an expression node.
Implements iceberg::Expression.
|
overridevirtual |
Get a user-readable string representation.
Implements iceberg::util::Formattable.