com.espertech.esper.core.service
Interface ExpressionResultCacheForDeclaredExprLastColl
- All Known Implementing Classes:
- ExpressionResultCacheForDeclaredExprLastCollImpl
public interface ExpressionResultCacheForDeclaredExprLastColl
On the level of expression declaration:
a) for non-enum evaluation and for enum-evaluation a separate cache
b) The cache is keyed by the prototype-node and verified by a events-per-stream (EventBean[]) that is maintained or rewritten.
NOTE: ExpressionResultCacheEntry should not be held onto since the instance returned can be reused.
getDeclaredExpressionLastColl
ExpressionResultCacheEntry<EventBean[],java.util.Collection<EventBean>> getDeclaredExpressionLastColl(java.lang.Object node,
EventBean[] eventsPerStream)
saveDeclaredExpressionLastColl
void saveDeclaredExpressionLastColl(java.lang.Object node,
EventBean[] eventsPerStream,
java.util.Collection<EventBean> result)