|
||||||||||
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. |
int |
getStatementId()
|
EPStatementListenerSet |
getStatementListenerSet()
|
java.lang.String |
getStatementName()
|
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,
EPServiceProviderSPI epServiceProvider,
boolean isInsertInto,
boolean isPattern,
boolean isDistinct,
boolean isForClause,
StatementMetricHandle statementMetricHandle)
For initialization of the service to provide statement context. |
void |
setSelectClause(java.lang.Class[] selectClauseTypes,
java.lang.String[] selectClauseColumnNames,
boolean forClauseDelivery,
ExprEvaluator[] groupDeliveryExpressions,
ExprEvaluatorContext exprEvaluatorContext)
For initialize of the service providing select clause column types and names. |
void |
setUpdateListeners(EPStatementListenerSet updateListeners,
boolean isRecovery)
Indicate a change in update listener. |
Method Detail |
---|
void setContext(EPStatementSPI epStatement, EPServiceProviderSPI epServiceProvider, boolean isInsertInto, boolean isPattern, boolean isDistinct, boolean isForClause, StatementMetricHandle statementMetricHandle)
epStatement
- the statementepServiceProvider
- the engine instanceisInsertInto
- true if this is insert intoisPattern
- true if this is a pattern statementisDistinct
- true if using distinctstatementMetricHandle
- handle for metrics reportingvoid setSelectClause(java.lang.Class[] selectClauseTypes, java.lang.String[] selectClauseColumnNames, boolean forClauseDelivery, ExprEvaluator[] groupDeliveryExpressions, ExprEvaluatorContext exprEvaluatorContext)
selectClauseTypes
- types of columns in the select clauseselectClauseColumnNames
- column namesboolean isMakeSynthetic()
boolean isMakeNatural()
void dispatchOnStop()
void setUpdateListeners(EPStatementListenerSet updateListeners, boolean isRecovery)
updateListeners
- is the new listeners and subscribervoid indicate(UniformPair<EventBean[]> results)
results
- is the insert and remove stream datavoid execute()
java.lang.String getStatementName()
int getStatementId()
EPStatementListenerSet getStatementListenerSet()
|
© 2006-2016 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 |