|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatementResultService
Interface for a statement-level service for coordinating the insert/remove stream generation, native deliver to subscribers and the presence/absence of listener or subscribers to a statement.
Method Summary | |
---|---|
void |
dispatchOnStop()
Dispatch the remaining results, if any, to listeners as the statement is about to be stopped. |
void |
execute()
Execution of result indication. |
EventBean |
getLastIterableEvent()
Returns the last iterable event, for use by patterns since these are not iterable. |
void |
indicate(UniformPair<EventBean[]> results)
Stores for dispatching the statement results. |
boolean |
isMakeNatural()
Returns true to indicate that natural events should be produced, for use in select expression processing. |
boolean |
isMakeSynthetic()
Returns true to indicate that synthetic events should be produced, for use in select expression processing. |
void |
setContext(EPStatementSPI epStatement,
EPServiceProvider epServiceProvider,
boolean isInsertInto,
boolean isPattern)
For initialization of the service to provide statement context. |
void |
setSelectClause(Class[] selectClauseTypes,
String[] selectClauseColumnNames)
For initialize of the service providing select clause column types and names. |
void |
setUpdateListeners(EPStatementListenerSet updateListeners)
Indicate a change in update listener. |
Method Detail |
---|
void setContext(EPStatementSPI epStatement, EPServiceProvider epServiceProvider, boolean isInsertInto, boolean isPattern)
epStatement
- the statementepServiceProvider
- the engine instanceisInsertInto
- true if this is insert intoisPattern
- true if this is a pattern statementvoid setSelectClause(Class[] selectClauseTypes, String[] selectClauseColumnNames)
selectClauseTypes
- types of columns in the select clauseselectClauseColumnNames
- column namesboolean isMakeSynthetic()
boolean isMakeNatural()
void dispatchOnStop()
EventBean getLastIterableEvent()
void setUpdateListeners(EPStatementListenerSet updateListeners)
updateListeners
- is the new listeners and subscribervoid indicate(UniformPair<EventBean[]> results)
results
- is the insert and remove stream datavoid execute()
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |