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 Summary

    Constructors
    Constructor
    Description
    EnumMethodValidateContext(com.espertech.esper.common.internal.epl.methodbase.DotMethodFP footprintFound, EventType inputEventType, EPTypeClass inputCollectionComponentType, com.espertech.esper.common.internal.epl.streamtype.StreamTypeService streamTypeService, com.espertech.esper.common.internal.epl.enummethod.dot.EnumMethodEnum currentMethod, List<com.espertech.esper.common.internal.epl.expression.core.ExprNode> currentParameters, com.espertech.esper.common.internal.compile.stage2.StatementRawInfo statementRawInfo)
    Ctor.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.espertech.esper.common.internal.epl.enummethod.dot.EnumMethodEnum
    Returns the enumeration method information
    List<com.espertech.esper.common.internal.epl.expression.core.ExprNode>
    Returns the parameters to the enumeration method.
    com.espertech.esper.common.internal.epl.methodbase.DotMethodFP
    Returns the actual footprint chosen.
    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 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
    com.espertech.esper.common.internal.compile.stage2.StatementRawInfo
    Returns EPL statement information.
    com.espertech.esper.common.internal.epl.streamtype.StreamTypeService
    Returns event type information.

    Methods inherited from class java.lang.Object

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

    • EnumMethodValidateContext

      public EnumMethodValidateContext(com.espertech.esper.common.internal.epl.methodbase.DotMethodFP footprintFound, EventType inputEventType, EPTypeClass inputCollectionComponentType, com.espertech.esper.common.internal.epl.streamtype.StreamTypeService streamTypeService, com.espertech.esper.common.internal.epl.enummethod.dot.EnumMethodEnum currentMethod, List<com.espertech.esper.common.internal.epl.expression.core.ExprNode> currentParameters, com.espertech.esper.common.internal.compile.stage2.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 com.espertech.esper.common.internal.epl.methodbase.DotMethodFP getFootprintFound()
      Returns the actual footprint chosen.
      Returns:
      footprint
    • getStreamTypeService

      public com.espertech.esper.common.internal.epl.streamtype.StreamTypeService getStreamTypeService()
      Returns event type information.
      Returns:
      type info
    • getCurrentMethod

      public com.espertech.esper.common.internal.epl.enummethod.dot.EnumMethodEnum getCurrentMethod()
      Returns the enumeration method information
      Returns:
      current method
    • getCurrentParameters

      public List<com.espertech.esper.common.internal.epl.expression.core.ExprNode> getCurrentParameters()
      Returns the parameters to the enumeration method.
      Returns:
      parameter expressions
    • getStatementRawInfo

      public com.espertech.esper.common.internal.compile.stage2.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