Class StatementOptionContextBase
java.lang.Object
com.espertech.esper.compiler.client.option.StatementOptionContextBase
- Direct Known Subclasses:
AccessModifierContextContext
,AccessModifierEventTypeContext
,AccessModifierExpressionContext
,AccessModifierInlinedClassContext
,AccessModifierNamedWindowContext
,AccessModifierScriptContext
,AccessModifierTableContext
,AccessModifierVariableContext
,BusModifierEventTypeContext
,StatementNameContext
,StatementUserObjectContext
,StateMgmtSettingContext
Base class providing statement information for compiler options.
-
Constructor Summary
ConstructorDescriptionStatementOptionContextBase
(Supplier<String> eplSupplier, String statementName, String moduleName, Annotation[] annotations, int statementNumber) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotationsReturns the supplier of the EPL textual representationReturns the module nameReturns the statement nameint
Returns the statement number
-
Constructor Details
-
StatementOptionContextBase
public StatementOptionContextBase(Supplier<String> eplSupplier, String statementName, String moduleName, Annotation[] annotations, int statementNumber) Ctor.- Parameters:
eplSupplier
- epl supplierstatementName
- statement namemoduleName
- module nameannotations
- annotationsstatementNumber
- statement number
-
-
Method Details
-
getEplSupplier
Returns the supplier of the EPL textual representation- Returns:
- epl supplier
-
getStatementName
Returns the statement name- Returns:
- statement name
-
getModuleName
Returns the module name- Returns:
- module name
-
getAnnotations
Returns the annotations- Returns:
- annotations
-
getStatementNumber
public int getStatementNumber()Returns the statement number- Returns:
- statement number
-