|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ViewSupport
com.espertech.esper.epl.table.onaction.TableOnViewBase
public abstract class TableOnViewBase
Field Summary | |
---|---|
protected boolean |
acquireWriteLock
|
protected ExprEvaluatorContext |
exprEvaluatorContext
|
protected SubordWMatchExprLookupStrategy |
lookupStrategy
|
protected TableMetadata |
metadata
|
protected TableStateInstance |
tableStateInstance
|
Fields inherited from class com.espertech.esper.view.ViewSupport |
---|
EMPTY_VIEW_ARRAY, parent |
Constructor Summary | |
---|---|
protected |
TableOnViewBase(SubordWMatchExprLookupStrategy lookupStrategy,
TableStateInstance tableStateInstance,
ExprEvaluatorContext exprEvaluatorContext,
TableMetadata metadata,
boolean acquireWriteLock)
|
Method Summary | |
---|---|
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
ExprEvaluatorContext |
getExprEvaluatorContext()
returns expr context. |
abstract void |
handleMatching(EventBean[] triggerEvents,
EventBean[] matchingEvents)
|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
void |
stop()
Stops the underlying resources. |
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.view.ViewSupport |
---|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final SubordWMatchExprLookupStrategy lookupStrategy
protected final TableStateInstance tableStateInstance
protected final ExprEvaluatorContext exprEvaluatorContext
protected final TableMetadata metadata
protected final boolean acquireWriteLock
Constructor Detail |
---|
protected TableOnViewBase(SubordWMatchExprLookupStrategy lookupStrategy, TableStateInstance tableStateInstance, ExprEvaluatorContext exprEvaluatorContext, TableMetadata metadata, boolean acquireWriteLock)
Method Detail |
---|
public abstract void handleMatching(EventBean[] triggerEvents, EventBean[] matchingEvents)
public void stop()
StopCallback
stop
in interface StopCallback
public void update(EventBean[] newData, EventBean[] oldData)
View
update
in interface 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 ExprEvaluatorContext getExprEvaluatorContext()
public java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
|
© 2006-2015 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 |