public class Evaluator
extends java.lang.Object
implements java.io.Serializable
Expression
for data described by a Types.StructType
.
Data rows must implement StructLike
and are passed to eval(StructLike)
.
This class is thread-safe.
Constructor and Description |
---|
Evaluator(Types.StructType struct,
Expression unbound) |
Evaluator(Types.StructType struct,
Expression unbound,
boolean caseSensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(StructLike data) |
public Evaluator(Types.StructType struct, Expression unbound)
public Evaluator(Types.StructType struct, Expression unbound, boolean caseSensitive)
public boolean eval(StructLike data)