iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
iceberg::IsBoundVisitor Class Reference
Inheritance diagram for iceberg::IsBoundVisitor:
iceberg::ExpressionVisitor< bool >

Public Member Functions

Result< bool > AlwaysTrue () override
 Visit a True expression (always evaluates to true).
 
Result< bool > AlwaysFalse () override
 Visit a False expression (always evaluates to false).
 
Result< bool > Not (bool child_result) override
 
Result< bool > And (bool left_result, bool right_result) override
 
Result< bool > Or (bool left_result, bool right_result) override
 
Result< bool > Predicate (const std::shared_ptr< BoundPredicate > &pred) override
 Visit a bound predicate.
 
Result< bool > Predicate (const std::shared_ptr< UnboundPredicate > &pred) override
 Visit an unbound predicate.
 
Result< bool > Aggregate (const std::shared_ptr< BoundAggregate > &aggregate) override
 Visit a bound aggregate.
 
Result< bool > Aggregate (const std::shared_ptr< UnboundAggregate > &aggregate) override
 Visit an unbound aggregate.
 
- Public Member Functions inherited from iceberg::ExpressionVisitor< bool >
virtual Result< bool > Not (ParamType child_result)=0
 Visit a Not expression.
 
virtual Result< bool > And (ParamType left_result, ParamType right_result)=0
 Visit an And expression.
 
virtual Result< bool > Or (ParamType left_result, ParamType right_result)=0
 Visit an Or expression.
 

Static Public Member Functions

static Result< bool > IsBound (const std::shared_ptr< Expression > &expr)
 

Member Function Documentation

◆ Aggregate() [1/2]

Result< bool > iceberg::IsBoundVisitor::Aggregate ( const std::shared_ptr< BoundAggregate > &  aggregate)
overridevirtual

Visit a bound aggregate.

Parameters
aggregateThe bound aggregate to visit.

Reimplemented from iceberg::ExpressionVisitor< bool >.

◆ Aggregate() [2/2]

Result< bool > iceberg::IsBoundVisitor::Aggregate ( const std::shared_ptr< UnboundAggregate > &  aggregate)
overridevirtual

Visit an unbound aggregate.

Parameters
aggregateThe unbound aggregate to visit.

Reimplemented from iceberg::ExpressionVisitor< bool >.

◆ AlwaysFalse()

Result< bool > iceberg::IsBoundVisitor::AlwaysFalse ( )
overridevirtual

Visit a False expression (always evaluates to false).

Implements iceberg::ExpressionVisitor< bool >.

◆ AlwaysTrue()

Result< bool > iceberg::IsBoundVisitor::AlwaysTrue ( )
overridevirtual

Visit a True expression (always evaluates to true).

Implements iceberg::ExpressionVisitor< bool >.

◆ Predicate() [1/2]

Result< bool > iceberg::IsBoundVisitor::Predicate ( const std::shared_ptr< BoundPredicate > &  pred)
overridevirtual

Visit a bound predicate.

Parameters
predThe bound predicate to visit

Implements iceberg::ExpressionVisitor< bool >.

◆ Predicate() [2/2]

Result< bool > iceberg::IsBoundVisitor::Predicate ( const std::shared_ptr< UnboundPredicate > &  pred)
overridevirtual

Visit an unbound predicate.

Parameters
predThe unbound predicate to visit

Implements iceberg::ExpressionVisitor< bool >.


The documentation for this class was generated from the following files: