|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPAdministrator
Administrative interface to the event stream processing engine. Includes methods to create patterns and EQL statements.
Method Summary | |
---|---|
EPStatement |
createEQL(String eqlStatement)
Creates and starts an EQL statement. |
EPStatement |
createEQL(String eqlStatement,
String statementName)
Create and starts an EQL statement. |
EPStatement |
createPattern(String onExpression)
Create and starts an event pattern statement for the expressing string passed. |
EPStatement |
createPattern(String onExpression,
String statementName)
Create and starts an event pattern statement for the expressing string passed and assign the name passed. |
void |
destroyAllStatements()
Stops and destroys all statements. |
ConfigurationOperations |
getConfiguration()
Returns configuration operations for runtime engine configuration. |
EPStatement |
getStatement(String name)
Returns the statement by the given statement name. |
String[] |
getStatementNames()
Returns the statement names of all started and stopped statements. |
void |
startAllStatements()
Starts all statements that are in stopped state. |
void |
stopAllStatements()
Stops all statements that are in started state. |
Method Detail |
---|
EPStatement createPattern(String onExpression) throws EPException
The engine assigns a unique name to the statement.
onExpression
- must follow the documented syntax for pattern statements
EPException
- when the expression was not validEPStatement createEQL(String eqlStatement) throws EPException
The engine assigns a unique name to the statement. The returned statement is in started state.
eqlStatement
- is the query language statement
EPException
- when the expression was not validEPStatement createPattern(String onExpression, String statementName) throws EPException
The statement name is optimally a unique name. If a statement of the same name has already been created, the engine assigns a postfix to create a unique statement name.
onExpression
- must follow the documented syntax for pattern statementsstatementName
- is the name to assign to the statement for use in manageing the statement
EPException
- when the expression was not validEPStatement createEQL(String eqlStatement, String statementName) throws EPException
The statement name is optimally a unique name. If a statement of the same name has already been created, the engine assigns a postfix to create a unique statement name.
eqlStatement
- is the query language statementstatementName
- is the name to assign to the statement for use in manageing the statement
EPException
- when the expression was not validEPStatement getStatement(String name)
name
- is the statement name to return the statement for
String[] getStatementNames()
This excludes the name of destroyed statements.
void startAllStatements() throws EPException
EPException
- when an error occured starting statements.void stopAllStatements() throws EPException
EPException
- when an error occured stopping statementsvoid destroyAllStatements() throws EPException
EPException
- when an error occured stopping or destroying statementsConfigurationOperations getConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |