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, wait
evaluate, evaluate, evaluateCachedLeft, evaluateCachedRight
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public Operator getOperator()
Evaluator
getOperator
in interface org.kie.api.runtime.rule.Evaluator
public ValueType getValueType()
Evaluator
public ValueType getCoercedValueType()
Evaluator
public boolean isTemporal()
Evaluator
isTemporal
in interface org.kie.api.runtime.rule.Evaluator
public Interval getInterval()
Evaluator
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.