public class EventBusSource extends java.lang.Object implements DataFlowSourceOperator, DataFlowOpLifecycle, FilterHandleCallback
Constructor and Description |
---|
EventBusSource() |
Modifier and Type | Method and Description |
---|---|
void |
close(DataFlowOpCloseContext openContext) |
java.lang.String |
getStatementId()
Returns the statement id.
|
DataFlowOpInitializeResult |
initialize(DataFlowOpInitializateContext context) |
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. |
void |
next() |
void |
open(DataFlowOpOpenContext openContext) |
public DataFlowOpInitializeResult initialize(DataFlowOpInitializateContext context) throws java.lang.Exception
initialize
in interface DataFlowOpLifecycle
java.lang.Exception
public void next() throws java.lang.InterruptedException
next
in interface DataFlowSourceOperator
java.lang.InterruptedException
public void matchFound(EventBean theEvent, java.util.Collection<FilterHandleCallback> allStmtMatches)
FilterHandleCallback
FilterService
which matches the filter specification FilterSpecCompiled
associated with this callback.matchFound
in interface FilterHandleCallback
theEvent
- - the event received that matches the filter specificationpublic boolean isSubSelect()
FilterHandleCallback
isSubSelect
in interface FilterHandleCallback
public java.lang.String getStatementId()
FilterHandle
getStatementId
in interface FilterHandle
public void open(DataFlowOpOpenContext openContext)
open
in interface DataFlowOpLifecycle
public void close(DataFlowOpCloseContext openContext)
close
in interface DataFlowOpLifecycle