|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ViewServiceImpl
public final class ViewServiceImpl
Implementation of the view evaluation service business interface.
Constructor Summary | |
---|---|
ViewServiceImpl()
Ctor. |
Method Summary | |
---|---|
ViewFactoryChain |
createFactories(EventType parentEventType,
List<ViewSpec> viewSpecDefinitions,
ViewServiceContext context)
|
Viewable |
createViews(Viewable eventStreamViewable,
List<ViewFactory> viewFactories,
ViewServiceContext context)
Creates the views given a chain of view factories. |
void |
remove(EventStream eventStream,
Viewable viewToRemove)
Removes a view discoupling the view and any of it's parent views up the tree to the last shared parent view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewServiceImpl()
Method Detail |
---|
public ViewFactoryChain createFactories(EventType parentEventType, List<ViewSpec> viewSpecDefinitions, ViewServiceContext context) throws ViewProcessingException
createFactories
in interface ViewService
ViewProcessingException
public Viewable createViews(Viewable eventStreamViewable, List<ViewFactory> viewFactories, ViewServiceContext context)
ViewService
Attempts to reuse compatible views under then parent event stream viewable as indicated by each view factories reuse method.
createViews
in interface ViewService
eventStreamViewable
- is the event stream to hook intoviewFactories
- defines the list of view factorys to call makeView or canReuse oncontext
- provides services
public void remove(EventStream eventStream, Viewable viewToRemove)
ViewService
remove
in interface ViewService
eventStream
- - the event stream that originates the raw eventsviewToRemove
- - the view (should be the last in a chain) to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |