|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.core.EPStatementSupport
net.esper.core.EPEQLStatementImpl
public class EPEQLStatementImpl
Statement implementation for EQL statements. The statement starts on construction. When listeners are added and removed from the view a child dispatch view is added/removed to/from the parent view to support push mode.
Constructor Summary | |
---|---|
EPEQLStatementImpl(java.lang.String expressionText,
DispatchService dispatchService,
EPEQLStmtStartMethod startMethod)
Ctor. |
Method Summary | |
---|---|
EventType |
getEventType()
Returns the type of events the iterable returns. |
java.lang.String |
getText()
Returns the underlying expression text or XML. |
java.util.Iterator<EventBean> |
iterator()
Returns an iterator over events. |
void |
listenerStart()
Called when the first listener is added. |
void |
listenerStop()
Called when the last listener is removed. |
void |
start()
Start the statement. |
void |
stop()
Stop the statement. |
Methods inherited from class net.esper.core.EPStatementSupport |
---|
addListener, getListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.esper.client.EPListenable |
---|
addListener, removeAllListeners, removeListener |
Constructor Detail |
---|
public EPEQLStatementImpl(java.lang.String expressionText, DispatchService dispatchService, EPEQLStmtStartMethod startMethod)
expressionText
- expressiondispatchService
- for dispatchingstartMethod
- to start the viewMethod Detail |
---|
public void stop()
EPStatement
stop
in interface EPStatement
public void start()
EPStatement
start
in interface EPStatement
public java.lang.String getText()
EPStatement
getText
in interface EPStatement
public java.util.Iterator<EventBean> iterator()
EPIterable
iterator
in interface EPIterable
public EventType getEventType()
EPIterable
getEventType
in interface EPIterable
public void listenerStop()
EPStatementSupport
listenerStop
in class EPStatementSupport
public void listenerStart()
EPStatementSupport
listenerStart
in class EPStatementSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |