Evaluates an Expression against DataFile.
More...
#include <strict_metrics_evaluator.h>
Evaluates an Expression against DataFile.
- Note
- : The evaluator is thread-safe.
◆ Evaluate()
| Result< bool > iceberg::StrictMetricsEvaluator::Evaluate |
( |
const DataFile & |
data_file | ) |
const |
Evaluate the expression against a DataFile.
- Parameters
-
| data_file | The data file to evaluate |
- Returns
- true if the file matches the expression, false otherwise, or error
◆ Make()
| Result< std::unique_ptr< StrictMetricsEvaluator > > iceberg::StrictMetricsEvaluator::Make |
( |
std::shared_ptr< Expression > |
expr, |
|
|
std::shared_ptr< Schema > |
schema, |
|
|
bool |
case_sensitive = true |
|
) |
| |
|
static |
Make a strict metrics evaluator.
- Parameters
-
| expr | The expression to evaluate |
| schema | The schema of the table |
| case_sensitive | Whether field name matching is case-sensitive |
The documentation for this class was generated from the following files: