|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ViewCapPriorEventAccess
public class ViewCapPriorEventAccess
Describes that we need access to prior events (result events published by views), for use by the "prior" expression function.
Constructor Summary | |
---|---|
ViewCapPriorEventAccess(Integer indexConstant)
Ctor. |
Method Summary | |
---|---|
Integer |
getIndexConstant()
Index or the prior event we are asking for. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewCapPriorEventAccess(Integer indexConstant)
indexConstant
- is the index of the prior event, with zero being the current event.Method Detail |
---|
public Integer getIndexConstant()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |