com.espertech.esper.core.service
Class EPAdministratorHelper

java.lang.Object
  extended by com.espertech.esper.core.service.EPAdministratorHelper

public class EPAdministratorHelper
extends java.lang.Object

Helper class for administrative interface.


Constructor Summary
EPAdministratorHelper()
           
 
Method Summary
static StatementSpecRaw compileEPL(java.lang.String eplStatement, java.lang.String eplStatementForErrorMsg, boolean addPleaseCheck, java.lang.String statementName, EPServicesContext services, SelectClauseStreamSelectorEnum defaultStreamSelector)
          Compile an EPL statement.
static StatementSpecRaw compileEPL(java.lang.String eplStatement, java.lang.String eplStatementForErrorMsg, boolean addPleaseCheck, java.lang.String statementName, SelectClauseStreamSelectorEnum defaultStreamSelector, EngineImportService engineImportService, VariableService variableService, SchedulingService schedulingService, java.lang.String engineURI, ConfigurationInformation configSnapshot, PatternNodeFactory patternNodeFactory, ContextManagementService contextManagementService, ExprDeclaredService exprDeclaredService, TableService tableService)
          Compile the EPL.
static StatementSpecRaw compilePattern(java.lang.String expression, java.lang.String expressionForErrorMessage, boolean addPleaseCheck, EPServicesContext services, SelectClauseStreamSelectorEnum defaultStreamSelector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPAdministratorHelper

public EPAdministratorHelper()
Method Detail

compileEPL

public static StatementSpecRaw compileEPL(java.lang.String eplStatement,
                                          java.lang.String eplStatementForErrorMsg,
                                          boolean addPleaseCheck,
                                          java.lang.String statementName,
                                          EPServicesContext services,
                                          SelectClauseStreamSelectorEnum defaultStreamSelector)
Compile an EPL statement.

Parameters:
eplStatement - to compile
eplStatementForErrorMsg - the statement to use for indicating error messages
addPleaseCheck - true to add please-check message text
statementName - the name of statement
services - engine services
defaultStreamSelector - stream selector
Returns:
compiled statement

compileEPL

public static StatementSpecRaw compileEPL(java.lang.String eplStatement,
                                          java.lang.String eplStatementForErrorMsg,
                                          boolean addPleaseCheck,
                                          java.lang.String statementName,
                                          SelectClauseStreamSelectorEnum defaultStreamSelector,
                                          EngineImportService engineImportService,
                                          VariableService variableService,
                                          SchedulingService schedulingService,
                                          java.lang.String engineURI,
                                          ConfigurationInformation configSnapshot,
                                          PatternNodeFactory patternNodeFactory,
                                          ContextManagementService contextManagementService,
                                          ExprDeclaredService exprDeclaredService,
                                          TableService tableService)
Compile the EPL.

Parameters:
eplStatement - expression to compile
statementName - is the name of the statement
defaultStreamSelector - - the configuration for which insert or remove streams (or both) to produce
eplStatementForErrorMsg - - use this text for the error message
addPleaseCheck - - indicator to add a "please check" wording for stack paraphrases
Returns:
statement specification

compilePattern

public static StatementSpecRaw compilePattern(java.lang.String expression,
                                              java.lang.String expressionForErrorMessage,
                                              boolean addPleaseCheck,
                                              EPServicesContext services,
                                              SelectClauseStreamSelectorEnum defaultStreamSelector)

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com