public abstract class UpdateDispatchViewBase
extends com.espertech.esper.common.internal.view.core.ViewSupport
implements com.espertech.esper.common.internal.statement.dispatch.Dispatchable, com.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView
Modifier and Type | Field and Description |
---|---|
protected com.espertech.esper.common.internal.statement.dispatch.DispatchService |
dispatchService
Dispatches events to listeners.
|
protected com.espertech.esper.common.client.EventType |
eventType |
protected com.espertech.esper.common.client.EventBean |
lastIterableEvent
For iteration with patterns.
|
protected com.espertech.esper.common.internal.context.util.StatementResultService |
statementResultService
Handles result delivery
|
Constructor and Description |
---|
UpdateDispatchViewBase(com.espertech.esper.common.client.EventType eventType,
com.espertech.esper.common.internal.context.util.StatementResultService statementResultServiceImpl,
com.espertech.esper.common.internal.statement.dispatch.DispatchService dispatchService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelled() |
void |
clear()
Remove event reference to last event.
|
void |
execute() |
com.espertech.esper.common.client.EventType |
getEventType() |
com.espertech.esper.common.internal.context.util.StatementResultService |
getStatementResultService() |
com.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView |
getView() |
Iterator<com.espertech.esper.common.client.EventBean> |
iterator() |
void |
newResult(com.espertech.esper.common.internal.collection.UniformPair<com.espertech.esper.common.client.EventBean[]> result) |
void |
update(com.espertech.esper.common.client.EventBean[] newData,
com.espertech.esper.common.client.EventBean[] oldData) |
getChild, getParent, setChild, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setParent
getChild, setChild
forEach, spliterator
protected final com.espertech.esper.common.client.EventType eventType
protected final com.espertech.esper.common.internal.context.util.StatementResultService statementResultService
protected final com.espertech.esper.common.internal.statement.dispatch.DispatchService dispatchService
protected com.espertech.esper.common.client.EventBean lastIterableEvent
public UpdateDispatchViewBase(com.espertech.esper.common.client.EventType eventType, com.espertech.esper.common.internal.context.util.StatementResultService statementResultServiceImpl, com.espertech.esper.common.internal.statement.dispatch.DispatchService dispatchService)
dispatchService
- - for performing the dispatchstatementResultServiceImpl
- - handles result deliveryeventType
- event typepublic com.espertech.esper.common.client.EventType getEventType()
getEventType
in interface com.espertech.esper.common.internal.view.core.Viewable
public Iterator<com.espertech.esper.common.client.EventBean> iterator()
public void execute()
execute
in interface com.espertech.esper.common.internal.statement.dispatch.Dispatchable
public void clear()
public com.espertech.esper.common.internal.context.util.StatementResultService getStatementResultService()
public com.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView getView()
getView
in interface com.espertech.esper.common.internal.statement.dispatch.Dispatchable
public void newResult(com.espertech.esper.common.internal.collection.UniformPair<com.espertech.esper.common.client.EventBean[]> result)
newResult
in interface com.espertech.esper.common.internal.statement.dispatch.UpdateDispatchView
public void update(com.espertech.esper.common.client.EventBean[] newData, com.espertech.esper.common.client.EventBean[] oldData)
update
in interface com.espertech.esper.common.internal.view.core.View
public void cancelled()
cancelled
in interface com.espertech.esper.common.internal.statement.dispatch.Dispatchable
Copyright © 2005–2019. All rights reserved.