Class PopulateUtil
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.PopulateUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
coerceProperty
(String propertyName, EPTypeClass containingType, Object value, EPTypeClass type, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext, boolean forceNumeric, boolean includeClassNameInEx) static Object
instantiatePopulateObject
(Map<String, Object> objectProperties, EPTypeClass topClass, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext) static void
populateObject
(String operatorName, int operatorNum, String dataFlowName, Map<String, Object> objectProperties, Object top, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext, EPDataFlowOperatorParameterProvider optionalParameterProvider, Map<String, Object> optionalParameterURIs) static void
populateObject
(Map<String, Object> objectProperties, Object top, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext) static void
populateSpecCheckParameters
(PopulateFieldWValueDescriptor[] descriptors, Map<String, Object> jsonRaw, Object spec, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext)
-
Constructor Details
-
PopulateUtil
public PopulateUtil()
-
-
Method Details
-
populateSpecCheckParameters
public static void populateSpecCheckParameters(PopulateFieldWValueDescriptor[] descriptors, Map<String, Object> jsonRaw, Object spec, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext) throws ExprValidationException- Throws:
ExprValidationException
-
coerceProperty
public static Object coerceProperty(String propertyName, EPTypeClass containingType, Object value, EPTypeClass type, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext, boolean forceNumeric, boolean includeClassNameInEx) throws ExprValidationException - Throws:
ExprValidationException
-
instantiatePopulateObject
public static Object instantiatePopulateObject(Map<String, Object> objectProperties, EPTypeClass topClass, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext) throws ExprValidationException- Throws:
ExprValidationException
-
populateObject
public static void populateObject(String operatorName, int operatorNum, String dataFlowName, Map<String, Object> objectProperties, Object top, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext, EPDataFlowOperatorParameterProvider optionalParameterProvider, Map<String, throws ExprValidationExceptionObject> optionalParameterURIs) - Throws:
ExprValidationException
-
populateObject
public static void populateObject(Map<String, Object> objectProperties, Object top, ExprNodeOrigin exprNodeOrigin, ExprValidationContext exprValidationContext) throws ExprValidationException- Throws:
ExprValidationException
-