Class EnumMethodValidateContext
java.lang.Object
com.espertech.esper.common.client.hook.enummethod.EnumMethodValidateContext
Context for use with the enumeration method extension API
-
Constructor Summary
ConstructorDescriptionEnumMethodValidateContext
(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 TypeMethodDescriptioncom.espertech.esper.common.internal.epl.enummethod.dot.EnumMethodEnum
Returns the enumeration method informationList<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 inputReturns 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 eventscom.espertech.esper.common.internal.compile.stage2.StatementRawInfo
Returns EPL statement information.com.espertech.esper.common.internal.epl.streamtype.StreamTypeService
Returns event type information.
-
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 choseninputEventType
- input event type or null if the input is not a collection of eventsinputCollectionComponentType
- type of scalar or object (non-event) input values, or null if the input is a collection of eventsstreamTypeService
- event type informationcurrentMethod
- information on the current methodcurrentParameters
- parametersstatementRawInfo
- 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
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
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
-