com.espertech.esper.filter
Interface FilterHandleCallback

All Superinterfaces:
FilterHandle
All Known Implementing Classes:
BaseSubscription, ContextControllerHashedFilterCallback, ContextControllerPartitionedFilterCallback, EvalFilterStateNode, EvalFilterStateNodeConsumeImpl, EventBusSource

public interface FilterHandleCallback
extends FilterHandle

Interface for a callback method to be called when an event matches a filter specification. Provided as a convenience for use as a filter handle for registering with the FilterService.


Method Summary
 boolean isSubSelect()
          Returns true if the filter applies to subselects.
 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.
 
Methods inherited from interface com.espertech.esper.filter.FilterHandle
getStatementId
 

Method Detail

matchFound

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.

Parameters:
theEvent - - the event received that matches the filter specification
allStmtMatches -

isSubSelect

boolean isSubSelect()
Returns true if the filter applies to subselects.

Returns:
subselect filter

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