net.esper.view
Class ViewCapDataWindowAccess

java.lang.Object
  extended by net.esper.view.ViewCapDataWindowAccess
All Implemented Interfaces:
ViewCapability

public class ViewCapDataWindowAccess
extends Object
implements ViewCapability

Describes that we need random access into a data window by index.


Constructor Summary
ViewCapDataWindowAccess()
          Ctor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewCapDataWindowAccess

public ViewCapDataWindowAccess()
Ctor.

Method Detail

inspect

public boolean inspect(int streamNumber,
                       List<ViewFactory> viewFactories,
                       StatementContext statementContext)
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:
streamNumber - is the number of the stream
viewFactories - is a list of view factories that originate the final views
statementContext - is the statement-level services
Returns:
true to indicate inspection success, or false to indicate inspection failure