@@ -107,86 +107,86 @@ class ICEBERG_EXPORT BoundVisitor : public ExpressionVisitor<R> {
107107 public:
108108 ~BoundVisitor () override = default ;
109109
110- // / \brief Visit an IS_NULL unary predicate .
111- // / \param term The bound term being tested
112- virtual Result<R> IsNull (const std::shared_ptr<BoundTerm >& term ) = 0;
110+ // / \brief Visit an IS_NULL bound expression .
111+ // / \param expr The bound expression being tested
112+ virtual Result<R> IsNull (const std::shared_ptr<Bound >& expr ) = 0;
113113
114- // / \brief Visit a NOT_NULL unary predicate .
115- // / \param term The bound term being tested
116- virtual Result<R> NotNull (const std::shared_ptr<BoundTerm >& term ) = 0;
114+ // / \brief Visit a NOT_NULL bound expression .
115+ // / \param expr The bound expression being tested
116+ virtual Result<R> NotNull (const std::shared_ptr<Bound >& expr ) = 0;
117117
118- // / \brief Visit an IS_NAN unary predicate .
119- // / \param term The bound term being tested
120- virtual Result<R> IsNaN (const std::shared_ptr<BoundTerm >& term ) {
118+ // / \brief Visit an IS_NAN bound expression .
119+ // / \param expr The bound expression being tested
120+ virtual Result<R> IsNaN (const std::shared_ptr<Bound >& expr ) {
121121 return NotSupported (" IsNaN operation is not supported by this visitor" );
122122 }
123123
124- // / \brief Visit a NOT_NAN unary predicate .
125- // / \param term The bound term being tested
126- virtual Result<R> NotNaN (const std::shared_ptr<BoundTerm >& term ) {
124+ // / \brief Visit a NOT_NAN bound expression .
125+ // / \param expr The bound expression being tested
126+ virtual Result<R> NotNaN (const std::shared_ptr<Bound >& expr ) {
127127 return NotSupported (" NotNaN operation is not supported by this visitor" );
128128 }
129129
130- // / \brief Visit a less-than predicate .
131- // / \param term The bound term
130+ // / \brief Visit a less-than bound expression .
131+ // / \param expr The bound expression being tested
132132 // / \param lit The literal value to compare against
133- virtual Result<R> Lt (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
133+ virtual Result<R> Lt (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
134134
135- // / \brief Visit a less-than-or-equal predicate .
136- // / \param term The bound term
135+ // / \brief Visit a less-than-or-equal bound expression .
136+ // / \param expr The bound expression being tested
137137 // / \param lit The literal value to compare against
138- virtual Result<R> LtEq (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
138+ virtual Result<R> LtEq (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
139139
140- // / \brief Visit a greater-than predicate .
141- // / \param term The bound term
140+ // / \brief Visit a greater-than bound expression .
141+ // / \param expr The bound expression being tested
142142 // / \param lit The literal value to compare against
143- virtual Result<R> Gt (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
143+ virtual Result<R> Gt (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
144144
145- // / \brief Visit a greater-than-or-equal predicate .
146- // / \param term The bound term
145+ // / \brief Visit a greater-than-or-equal bound expression .
146+ // / \param expr The bound expression being tested
147147 // / \param lit The literal value to compare against
148- virtual Result<R> GtEq (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
148+ virtual Result<R> GtEq (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
149149
150- // / \brief Visit an equality predicate .
151- // / \param term The bound term
150+ // / \brief Visit an equality bound expression .
151+ // / \param expr The bound expression being tested
152152 // / \param lit The literal value to compare against
153- virtual Result<R> Eq (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
153+ virtual Result<R> Eq (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
154154
155- // / \brief Visit a not-equal predicate .
156- // / \param term The bound term
155+ // / \brief Visit a not-equal bound expression .
156+ // / \param expr The bound expression being tested
157157 // / \param lit The literal value to compare against
158- virtual Result<R> NotEq (const std::shared_ptr<BoundTerm >& term , const Literal& lit) = 0;
158+ virtual Result<R> NotEq (const std::shared_ptr<Bound >& expr , const Literal& lit) = 0;
159159
160- // / \brief Visit a starts-with predicate .
161- // / \param term The bound term
160+ // / \brief Visit a starts-with bound expression .
161+ // / \param expr The bound expression being tested
162162 // / \param lit The literal value to check for prefix match
163- virtual Result<R> StartsWith ([[maybe_unused]] const std::shared_ptr<BoundTerm >& term ,
163+ virtual Result<R> StartsWith ([[maybe_unused]] const std::shared_ptr<Bound >& expr ,
164164 [[maybe_unused]] const Literal& lit) {
165165 return NotSupported (" StartsWith operation is not supported by this visitor" );
166166 }
167167
168- // / \brief Visit a not-starts-with predicate .
169- // / \param term The bound term
168+ // / \brief Visit a not-starts-with bound expression .
169+ // / \param expr The bound expression being tested
170170 // / \param lit The literal value to check for prefix match
171- virtual Result<R> NotStartsWith ([[maybe_unused]] const std::shared_ptr<BoundTerm >& term ,
171+ virtual Result<R> NotStartsWith ([[maybe_unused]] const std::shared_ptr<Bound >& expr ,
172172 [[maybe_unused]] const Literal& lit) {
173173 return NotSupported (" NotStartsWith operation is not supported by this visitor" );
174174 }
175175
176- // / \brief Visit an IN set predicate .
177- // / \param term The bound term
176+ // / \brief Visit an IN set bound expression .
177+ // / \param expr The bound expression being tested
178178 // / \param literal_set The set of literal values to test membership
179179 virtual Result<R> In (
180- [[maybe_unused]] const std::shared_ptr<BoundTerm >& term ,
180+ [[maybe_unused]] const std::shared_ptr<Bound >& expr ,
181181 [[maybe_unused]] const BoundSetPredicate::LiteralSet& literal_set) {
182182 return NotSupported (" In operation is not supported by this visitor" );
183183 }
184184
185- // / \brief Visit a NOT_IN set predicate .
186- // / \param term The bound term
185+ // / \brief Visit a NOT_IN set bound expression .
186+ // / \param expr The bound expression being tested
187187 // / \param literal_set The set of literal values to test membership
188188 virtual Result<R> NotIn (
189- [[maybe_unused]] const std::shared_ptr<BoundTerm >& term ,
189+ [[maybe_unused]] const std::shared_ptr<Bound >& expr ,
190190 [[maybe_unused]] const BoundSetPredicate::LiteralSet& literal_set) {
191191 return NotSupported (" NotIn operation is not supported by this visitor" );
192192 }
0 commit comments