com.espertech.esper.pattern
Class EvalFilterStateNodeConsumeImpl

java.lang.Object
  extended by com.espertech.esper.pattern.EvalStateNode
      extended by com.espertech.esper.pattern.EvalFilterStateNode
          extended by com.espertech.esper.pattern.EvalFilterStateNodeConsumeImpl
All Implemented Interfaces:
FilterHandle, FilterHandleCallback, EvalFilterStateNodeConsume

public final class EvalFilterStateNodeConsumeImpl
extends EvalFilterStateNode
implements EvalFilterStateNodeConsume

This class contains the state of a single filter expression in the evaluation state tree.


Field Summary
 
Fields inherited from class com.espertech.esper.pattern.EvalFilterStateNode
beginState, evalFilterNode, handle, isStarted
 
Constructor Summary
EvalFilterStateNodeConsumeImpl(Evaluator parentNode, EvalFilterNode evalFilterNode)
           
 
Method Summary
 void matchFound(EventBean theEvent, java.util.Collection<FilterHandleCallback> allStmtMatches)
          Indicate that an event was evaluated by the FilterService which matches the filter specification FilterSpecCompiled associated with this callback.
static void processMatches(EvalFilterConsumptionHandler handler, EventBean theEvent, java.util.Collection<FilterHandleCallback> allStmtMatches)
           
 
Methods inherited from class com.espertech.esper.pattern.EvalFilterStateNode
accept, getEvalFilterNode, getFactoryNode, getStatementId, isFilterStateNode, isNotOperator, isObserverStateNodeNonRestarting, isSubSelect, quit, removeMatch, start, startFiltering, toString
 
Methods inherited from class com.espertech.esper.pattern.EvalStateNode
getParentEvaluator, setParentEvaluator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.pattern.EvalFilterStateNodeConsume
getEvalFilterNode
 

Constructor Detail

EvalFilterStateNodeConsumeImpl

public EvalFilterStateNodeConsumeImpl(Evaluator parentNode,
                                      EvalFilterNode evalFilterNode)
Method Detail

matchFound

public final void matchFound(EventBean theEvent,
                             java.util.Collection<FilterHandleCallback> allStmtMatches)
Description copied from interface: FilterHandleCallback
Indicate that an event was evaluated by the FilterService which matches the filter specification FilterSpecCompiled associated with this callback.

Specified by:
matchFound in interface FilterHandleCallback
Overrides:
matchFound in class EvalFilterStateNode
Parameters:
theEvent - - the event received that matches the filter specification

processMatches

public static void processMatches(EvalFilterConsumptionHandler handler,
                                  EventBean theEvent,
                                  java.util.Collection<FilterHandleCallback> allStmtMatches)

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com