net.esper.view
Interface ViewCapability

All Known Implementing Classes:
ViewCapDataWindowAccess, ViewCapPriorEventAccess

public interface ViewCapability

Interface for use by expression nodes to indicate view resource requirements allowing inspection and modification of view factories.


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.
 

Method Detail

inspect

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.

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