Package org.drools.core.rule
Class VariableRestriction.TimestampedContextEntry
- java.lang.Object
-
- org.drools.core.rule.VariableRestriction.VariableContextEntry
-
- org.drools.core.rule.VariableRestriction.TimestampedContextEntry
-
- All Implemented Interfaces:
Externalizable
,Serializable
,ContextEntry
- Direct Known Subclasses:
VariableRestriction.LeftEndRightStartContextEntry
,VariableRestriction.LeftStartRightEndContextEntry
- Enclosing class:
- VariableRestriction
public abstract static class VariableRestriction.TimestampedContextEntry extends VariableRestriction.VariableContextEntry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description long
timestamp
-
Fields inherited from class org.drools.core.rule.VariableRestriction.VariableContextEntry
declaration, entry, evaluator, extractor, leftNull, object, rightNull, tuple, workingMemory
-
-
Constructor Summary
Constructors Constructor Description TimestampedContextEntry()
TimestampedContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract long
getTimestampFromFactHandle(InternalFactHandle handle)
protected abstract long
getTimestampFromTuple(Tuple tuple)
void
readExternal(ObjectInput in)
void
updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
void
updateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.drools.core.rule.VariableRestriction.VariableContextEntry
getFieldExtractor, getNext, getObject, getTuple, getVariableDeclaration, isLeftNull, isRightNull, resetFactHandle, resetTuple, setNext
-
-
-
-
Constructor Detail
-
TimestampedContextEntry
public TimestampedContextEntry()
-
TimestampedContextEntry
public TimestampedContextEntry(InternalReadAccessor extractor, Declaration declaration, Evaluator evaluator)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classVariableRestriction.VariableContextEntry
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classVariableRestriction.VariableContextEntry
- Throws:
IOException
-
getTimestampFromTuple
protected abstract long getTimestampFromTuple(Tuple tuple)
-
getTimestampFromFactHandle
protected abstract long getTimestampFromFactHandle(InternalFactHandle handle)
-
updateFromTuple
public void updateFromTuple(InternalWorkingMemory workingMemory, Tuple tuple)
-
updateFromFactHandle
public void updateFromFactHandle(InternalWorkingMemory workingMemory, InternalFactHandle handle)
-
-