Class EnumMethodValidateContext

java.lang.Object
com.espertech.esper.common.client.hook.enummethod.EnumMethodValidateContext

public class EnumMethodValidateContext extends Object
Context for use with the enumeration method extension API
  • Constructor Details

    • EnumMethodValidateContext

      public EnumMethodValidateContext(DotMethodFP footprintFound, EventType inputEventType, EPTypeClass inputCollectionComponentType, StreamTypeService streamTypeService, EnumMethodEnum currentMethod, List<ExprNode> currentParameters, StatementRawInfo statementRawInfo)
      Ctor.
      Parameters:
      footprintFound - actual footprint chosen
      inputEventType - input event type or null if the input is not a collection of events
      inputCollectionComponentType - type of scalar or object (non-event) input values, or null if the input is a collection of events
      streamTypeService - event type information
      currentMethod - information on the current method
      currentParameters - parameters
      statementRawInfo - EPL statement information
  • Method Details

    • getFootprintFound

      public DotMethodFP getFootprintFound()
      Returns the actual footprint chosen.
      Returns:
      footprint
    • getStreamTypeService

      public StreamTypeService getStreamTypeService()
      Returns event type information.
      Returns:
      type info
    • getCurrentMethod

      public EnumMethodEnum getCurrentMethod()
      Returns the enumeration method information
      Returns:
      current method
    • getCurrentParameters

      public List<ExprNode> getCurrentParameters()
      Returns the parameters to the enumeration method.
      Returns:
      parameter expressions
    • getStatementRawInfo

      public StatementRawInfo getStatementRawInfo()
      Returns EPL statement information.
      Returns:
      statement info
    • getInputEventType

      public EventType getInputEventType()
      Returns the event type of the events that are the input of the enumeration method, or null if the input to the enumeration method are scalar value input and not events
      Returns:
      input event type or null for scalar input
    • getInputCollectionComponentType

      public EPTypeClass getInputCollectionComponentType()
      Returns the component type of the values that are the input of the enumeration method, or null if the input to the enumeration method are events and not scalar value input
      Returns:
      scalar value input type or null when the input is events