|
||||||||||
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 | |
---|---|
View |
createView(EventStream eventStream,
java.util.List<ViewSpec> viewSpecDefinitions,
ViewServiceContext context)
Creates a chain of views returning the last view in the chain. |
void |
remove(EventStream eventStream,
View 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 View createView(EventStream eventStream, java.util.List<ViewSpec> viewSpecDefinitions, ViewServiceContext context) throws ViewProcessingException
ViewService
createView
in interface ViewService
eventStream
- - the event stream that originates the raw eventsviewSpecDefinitions
- - the specification for the chain to be createdcontext
- - dependent services
ViewProcessingException
- thrown if a view cannot be createdpublic void remove(EventStream eventStream, View 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 |