Class VariableUtil
java.lang.Object
com.espertech.esper.common.internal.epl.variable.core.VariableUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkVariableContextName
(String optionalStatementContextName, VariableMetaData variableMetaData) compileVariable
(String variableName, String variableModuleName, NameAccessModifier variableVisibility, String optionalContextName, NameAccessModifier optionalContextVisibility, String optionalModuleName, ClassDescriptor variableType, boolean isConstant, boolean compileTimeConstant, Object initializationValue, StatementRawInfo raw, StatementCompileTimeServices services) static void
configureVariables
(VariableRepositoryPreconfigured repo, Map<String, ConfigurationCommonVariable> variables, ClasspathImportService classpathImportService, EventBeanTypedEventFactory eventBeanTypedEventFactory, EventTypeRepositoryImpl eventTypeRepositoryPreconfigured, BeanEventTypeFactory beanEventTypeFactory) static String
getAssigmentExMessage
(String variableName, EPTypeClass variableType, EPTypeClass initValueClass)
-
Constructor Details
-
VariableUtil
public VariableUtil()
-
-
Method Details
-
getAssigmentExMessage
public static String getAssigmentExMessage(String variableName, EPTypeClass variableType, EPTypeClass initValueClass) -
configureVariables
public static void configureVariables(VariableRepositoryPreconfigured repo, Map<String, ConfigurationCommonVariable> variables, ClasspathImportService classpathImportService, EventBeanTypedEventFactory eventBeanTypedEventFactory, EventTypeRepositoryImpl eventTypeRepositoryPreconfigured, BeanEventTypeFactory beanEventTypeFactory) throws ConfigurationException- Throws:
ConfigurationException
-
compileVariable
public static VariableMetadataWithForgables compileVariable(String variableName, String variableModuleName, NameAccessModifier variableVisibility, String optionalContextName, NameAccessModifier optionalContextVisibility, String optionalModuleName, ClassDescriptor variableType, boolean isConstant, boolean compileTimeConstant, Object initializationValue, StatementRawInfo raw, StatementCompileTimeServices services) throws ExprValidationException - Throws:
ExprValidationException
-
checkVariableContextName
public static String checkVariableContextName(String optionalStatementContextName, VariableMetaData variableMetaData)
-