Class DataFlowParameterValidation

java.lang.Object
com.espertech.esper.common.client.dataflow.util.DataFlowParameterValidation

public class DataFlowParameterValidation extends Object
Utility for validation data flow forge parameters
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.espertech.esper.common.internal.epl.expression.core.ExprNode
    validate(String name, com.espertech.esper.common.internal.epl.expression.core.ExprNode expr, EventType eventType, Class expectedReturnType, com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpForgeInitializeContext context)
    Validate the provided expression.
    static com.espertech.esper.common.internal.epl.expression.core.ExprNode
    validate(String name, com.espertech.esper.common.internal.epl.expression.core.ExprNode expr, Class expectedReturnType, com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpForgeInitializeContext context)
    Validate the provided expression.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataFlowParameterValidation

      public DataFlowParameterValidation()
  • Method Details

    • validate

      public static com.espertech.esper.common.internal.epl.expression.core.ExprNode validate(String name, com.espertech.esper.common.internal.epl.expression.core.ExprNode expr, Class expectedReturnType, com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpForgeInitializeContext context) throws com.espertech.esper.common.internal.epl.expression.core.ExprValidationException
      Validate the provided expression.
      Parameters:
      name - parameter name
      expr - expression
      expectedReturnType - expected result type
      context - forge initialization context
      Returns:
      validated expression node
      Throws:
      com.espertech.esper.common.internal.epl.expression.core.ExprValidationException - when validation failed
    • validate

      public static com.espertech.esper.common.internal.epl.expression.core.ExprNode validate(String name, com.espertech.esper.common.internal.epl.expression.core.ExprNode expr, EventType eventType, Class expectedReturnType, com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpForgeInitializeContext context) throws com.espertech.esper.common.internal.epl.expression.core.ExprValidationException
      Validate the provided expression.
      Parameters:
      name - parameter name
      eventType - event type
      expr - expression
      expectedReturnType - expected result type
      context - forge initialization context
      Returns:
      validated expression node
      Throws:
      com.espertech.esper.common.internal.epl.expression.core.ExprValidationException - when validation failed