Beispiel #1
0
 private bool EvaluateExpression(
     EventBean arriving,
     int windowSize)
 {
     ExpressionViewOAFieldEnumExtensions.Populate(
         builtinEventProps.Properties,
         windowSize,
         oldestEventTimestamp,
         newestEventTimestamp,
         this,
         0,
         oldestEvent,
         newestEvent);
     eventsPerStream[0] = arriving;
     return ExpressionBatchViewUtil.Evaluate(eventsPerStream, agentInstanceContext, factory, aggregationService);
 }
Beispiel #2
0
 private bool CheckEvent(
     ExpressionWindowTimestampEventPair first,
     ExpressionWindowTimestampEventPair newest,
     int numExpired)
 {
     ExpressionViewOAFieldEnumExtensions.Populate(
         builtinEventProps.Properties,
         window.Count,
         first.Timestamp,
         newest.Timestamp,
         this,
         numExpired,
         first.TheEvent,
         newest.TheEvent);
     eventsPerStream[0] = first.TheEvent;
     return ExpressionBatchViewUtil.Evaluate(eventsPerStream, agentInstanceContext, factory, aggregationService);
 }