iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::InclusiveProjectionVisitor Class Reference

Inclusive projection visitor. More...

Inheritance diagram for iceberg::InclusiveProjectionVisitor:
iceberg::ProjectionVisitor iceberg::ExpressionVisitor< std::shared_ptr< Expression > >

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from iceberg::ProjectionVisitor
const PartitionSpecspec_
 
const Schemaschema_
 
bool case_sensitive_
 

Detailed Description

Inclusive projection visitor.

Uses AND to combine projections from multiple partition fields.

Member Function Documentation

◆ Predicate()

Result< std::shared_ptr< Expression > > iceberg::InclusiveProjectionVisitor::Predicate ( const std::shared_ptr< BoundPredicate > &  pred)
inlineoverridevirtual

Visit a bound predicate.

Parameters
predThe bound predicate to visit

Implements iceberg::ExpressionVisitor< std::shared_ptr< Expression > >.


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