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.SerializableEvaluates anExpressionfor data described by aTypes.StructType.Data rows must implement
StructLikeand 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 booleaneval(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)
-
-