public abstract class BaseEvaluator extends Object implements Evaluator, Externalizable
| Constructor and Description |
|---|
BaseEvaluator() |
BaseEvaluator(ValueType type,
Operator operator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
ValueType |
getCoercedValueType()
Returns the value type this evaluator will coerce
operands to, during evaluation.
|
Interval |
getInterval()
In case this is a temporal evaluator, returns the interval
in which this evaluator may match the target fact
|
Operator |
getOperator()
Returns the operator representation object for this evaluator
|
ValueType |
getValueType()
Returns the type of the values this evaluator operates upon.
|
int |
hashCode() |
boolean |
isTemporal()
Returns true if this evaluator implements a temporal evaluation,
i.e., a time sensitive evaluation whose properties of matching
only events within an specific time interval can be used for
determining event expirations automatically.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitevaluate, evaluate, evaluateCachedLeft, evaluateCachedRightpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Operator getOperator()
EvaluatorgetOperator in interface org.kie.api.runtime.rule.Evaluatorpublic ValueType getValueType()
Evaluatorpublic ValueType getCoercedValueType()
Evaluatorpublic boolean isTemporal()
EvaluatorisTemporal in interface org.kie.api.runtime.rule.Evaluatorpublic Interval getInterval()
EvaluatorCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.