public abstract class PatternMatchPredicateEval extends BinaryEval
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
caseInsensitive |
protected Pattern |
compiled |
protected boolean |
not |
protected String |
pattern |
leftExpr, returnType, rightExpr| Constructor and Description |
|---|
PatternMatchPredicateEval(EvalType evalType,
boolean not,
EvalNode field,
ConstEval pattern) |
PatternMatchPredicateEval(EvalType evalType,
boolean not,
EvalNode predicand,
ConstEval pattern,
boolean caseInsensitive) |
| Modifier and Type | Method and Description |
|---|---|
Datum |
eval(Schema schema,
Tuple tuple) |
String |
getName() |
TajoDataTypes.DataType |
getValueType() |
boolean |
isCaseInsensitive() |
boolean |
isNot() |
childNum, clone, equals, getChild, getLeftExpr, getRightExpr, hashCode, postOrder, preOrder, setChild, setLeftExpr, setRightExpr, toStringprotected boolean not
protected String pattern
protected boolean caseInsensitive
protected Pattern compiled
public PatternMatchPredicateEval(EvalType evalType, boolean not, EvalNode predicand, ConstEval pattern, boolean caseInsensitive)
public boolean isNot()
public boolean isCaseInsensitive()
public TajoDataTypes.DataType getValueType()
getValueType in class BinaryEvalpublic String getName()
getName in class BinaryEvalpublic Datum eval(Schema schema, Tuple tuple)
eval in class BinaryEvalCopyright © 2015 Apache Software Foundation. All Rights Reserved.