|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.view.OutputProcessView
public abstract class OutputProcessView
Base output processing view that has the responsibility to serve up event type and statement iterator.
Implementation classes may enforce an output rate stabilizing or limiting policy.
Field Summary | |
---|---|
protected UpdateDispatchView |
childView
The view to ultimately dispatch to. |
protected boolean |
isGenerateSynthetic
An indicator on whether we always need synthetic events such as for insert-into. |
protected OutputStrategy |
outputStrategy
Strategy to performs the output once it's decided we need to output. |
protected Viewable |
parentView
The parent view for iteration. |
protected ResultSetProcessor |
resultSetProcessor
Processes the parent views result set generating events for pushing out to child view. |
protected StatementResultService |
statementResultService
Manages listeners/subscribers to a statement, informing about current result generation needs. |
Constructor Summary | |
---|---|
protected |
OutputProcessView(ResultSetProcessor resultSetProcessor,
OutputStrategy outputStrategy,
boolean isInsertInto,
StatementResultService statementResultService)
Ctor. |
Method Summary | |
---|---|
View |
addView(View view)
Add a view to the viewable object. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
Viewable |
getParent()
Returns the View's parent Viewable. |
List<View> |
getViews()
Returns all added views. |
boolean |
hasViews()
Test is there are any views to the Viewable. |
Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
boolean |
removeView(View view)
Remove a view. |
void |
setJoinExecutionStrategy(JoinExecutionStrategy joinExecutionStrategy)
For joins, supplies the join execution strategy that provides iteration over statement results. |
void |
setParent(Viewable parent)
Called when the View is added to a Viewable object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.view.View |
---|
update |
Methods inherited from interface com.espertech.esper.epl.join.JoinSetProcessor |
---|
process |
Field Detail |
---|
protected final ResultSetProcessor resultSetProcessor
protected final OutputStrategy outputStrategy
protected final StatementResultService statementResultService
protected UpdateDispatchView childView
protected Viewable parentView
protected boolean isGenerateSynthetic
Constructor Detail |
---|
protected OutputProcessView(ResultSetProcessor resultSetProcessor, OutputStrategy outputStrategy, boolean isInsertInto, StatementResultService statementResultService)
resultSetProcessor
- processes the results posted by parent view or joinsoutputStrategy
- the strategy to use for producing outputisInsertInto
- true if this is an insert-intostatementResultService
- for awareness of listeners and subscriberMethod Detail |
---|
public Viewable getParent()
View
getParent
in interface View
public void setParent(Viewable parent)
View
setParent
in interface View
parent
- is the parent that this view is a child ofpublic View addView(View view)
Viewable
addView
in interface Viewable
view
- to add
public List<View> getViews()
Viewable
getViews
in interface Viewable
public boolean removeView(View view)
Viewable
removeView
in interface Viewable
view
- to remove
public boolean hasViews()
Viewable
hasViews
in interface Viewable
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public void setJoinExecutionStrategy(JoinExecutionStrategy joinExecutionStrategy)
joinExecutionStrategy
- executes joins including static (non-continuous) joinspublic Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface Iterable<EventBean>
|
© 2007 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 |