Package org.apache.iceberg.expressions
Class Evaluator
- java.lang.Object
-
- org.apache.iceberg.expressions.Evaluator
-
- All Implemented Interfaces:
java.io.Serializable
public class Evaluator extends java.lang.Object implements java.io.Serializable
Evaluates anExpression
for data described by aTypes.StructType
.Data rows must implement
StructLike
and are passed toeval(StructLike)
.This class is thread-safe.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Evaluator(Types.StructType struct, Expression unbound)
Evaluator(Types.StructType struct, Expression unbound, boolean caseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eval(StructLike data)
-
-
-
Constructor Detail
-
Evaluator
public Evaluator(Types.StructType struct, Expression unbound)
-
Evaluator
public Evaluator(Types.StructType struct, Expression unbound, boolean caseSensitive)
-
-
Method Detail
-
eval
public boolean eval(StructLike data)
-
-