|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.view.OutputProcessViewBase
com.espertech.esper.epl.view.OutputProcessViewBaseCallback
public class OutputProcessViewBaseCallback
Factory for output processing views.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.view.OutputProcessViewBase |
---|
childView, joinExecutionStrategy, parentView, resultSetProcessor |
Constructor Summary | |
---|---|
OutputProcessViewBaseCallback(ResultSetProcessor resultSetProcessor,
OutputProcessViewCallback callback)
|
Method Summary | |
---|---|
int |
getNumChangesetRows()
|
OutputCondition |
getOptionalOutputCondition()
|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
void |
process(java.util.Set<MultiKey<EventBean>> newEvents,
java.util.Set<MultiKey<EventBean>> oldEvents,
ExprEvaluatorContext exprEvaluatorContext)
Process join result set. |
void |
stop()
Stops the underlying resources. |
void |
terminated()
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent. |
Methods inherited from class com.espertech.esper.epl.view.OutputProcessViewBase |
---|
addView, getEventType, getParent, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputProcessViewBaseCallback(ResultSetProcessor resultSetProcessor, OutputProcessViewCallback callback)
Method Detail |
---|
public int getNumChangesetRows()
getNumChangesetRows
in class OutputProcessViewBase
public OutputCondition getOptionalOutputCondition()
getOptionalOutputCondition
in class OutputProcessViewBase
public java.util.Iterator<EventBean> iterator()
EventCollection
public void process(java.util.Set<MultiKey<EventBean>> newEvents, java.util.Set<MultiKey<EventBean>> oldEvents, ExprEvaluatorContext exprEvaluatorContext)
JoinSetProcessor
newEvents
- - set of event tuples representing new dataoldEvents
- - set of event tuples representing old dataexprEvaluatorContext
- expression evaluation contextpublic void terminated()
public void update(EventBean[] newData, EventBean[] oldData)
View
newData
- is the new data that has been added to the parent viewoldData
- is the old data that has been removed from the parent viewpublic void stop()
StopCallback
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |