|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.named.RemoveStreamViewCapability
public class RemoveStreamViewCapability
View capability requirement that asks views to handle the remove stream posted by parent views, for use with named windows since these allow on-delete removal of events from a window.
Based on being asked to provide the capability, a view factory may need to use a view with a different internal collection to provide a remove stream capability that has good performance, but may come at the cost of lower insert performance as a view may need to build reverse indexes to effeciently remove an event.
Constructor Summary | |
---|---|
RemoveStreamViewCapability()
|
Method Summary | |
---|---|
boolean |
inspect(int streamNumber,
List<ViewFactory> viewFactories,
StatementContext statementContext)
Inspect view factories returning false to indicate that view factories do not meet view resource requirements, or true to indicate view capability and view factories can be compatible. |
boolean |
requiresChildViews()
Returns true to indicate that the capability requirs one or more child views, or can work without child views. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveStreamViewCapability()
Method Detail |
---|
public boolean inspect(int streamNumber, List<ViewFactory> viewFactories, StatementContext statementContext)
ViewCapability
inspect
in interface ViewCapability
streamNumber
- is the number of the streamviewFactories
- is a list of view factories that originate the final viewsstatementContext
- is the statement-level services
public boolean requiresChildViews()
ViewCapability
requiresChildViews
in interface ViewCapability
|
© 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 |