net.esper.view
Class ViewCapPriorEventAccess
java.lang.Object
net.esper.view.ViewCapPriorEventAccess
- All Implemented Interfaces:
- ViewCapability
public class ViewCapPriorEventAccess
- extends Object
- implements ViewCapability
Describes that we need access to prior events (result events published by views),
for use by the "prior" expression function.
Method Summary |
Integer |
getIndexConstant()
|
boolean |
inspect(List<ViewFactory> viewFactories)
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 |
ViewCapPriorEventAccess
public ViewCapPriorEventAccess(Integer indexConstant)
- Ctor.
- Parameters:
indexConstant
- is the index of the prior event, with zero being the current event.
getIndexConstant
public Integer getIndexConstant()
inspect
public boolean inspect(List<ViewFactory> viewFactories)
- Description copied from interface:
ViewCapability
- 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.
- Specified by:
inspect
in interface ViewCapability
- Parameters:
viewFactories
- is a list of view factories that originate the final views
- Returns:
- true to indicate inspection success, or false to indicate inspection failure