Class EPLMethodInvocationContext

java.lang.Object
com.espertech.esper.common.client.hook.expr.EPLMethodInvocationContext

public class EPLMethodInvocationContext extends Object
Invocation context for method invocations that invoke static methods or plug-in single-row functions.
  • Field Details

    • EPTYPE

      public static final EPTypeClass EPTYPE
      Type information
  • Constructor Details

    • EPLMethodInvocationContext

      public EPLMethodInvocationContext(String statementName, int contextPartitionId, String runtimeURI, String functionName, Object statementUserObject, EventBeanService eventBeanService)
      Ctor.
      Parameters:
      statementName - the statement name
      contextPartitionId - context partition id if using contexts, or -1 if not using context partitions
      runtimeURI - the runtime URI
      functionName - the name of the plug-in single row function, or the method name if not a plug-in single row function
      statementUserObject - the statement user object or null if not assigned
      eventBeanService - event and event type services
  • Method Details

    • getStatementName

      public String getStatementName()
      Returns the statement name, or null if the invocation context is not associated to a specific statement and is shareable between statements
      Returns:
      statement name or null
    • getContextPartitionId

      public int getContextPartitionId()
      Returns the context partition id, or -1 if no contexts or if the invocation context is not associated to a specific statement and is shareable between statements
      Returns:
      context partition id
    • getRuntimeURI

      public String getRuntimeURI()
      Returns the runtime URI or null if not set
      Returns:
      runtime URI
    • getFunctionName

      public String getFunctionName()
      Returns the function name that appears in the EPL statement.
      Returns:
      function name
    • getStatementUserObject

      public Object getStatementUserObject()
      Returns the statement user object or null if not assigned or if the invocation context is not associated to a specific statement and is shareable between statements
      Returns:
      statement user object or null
    • getEventBeanService

      public EventBeanService getEventBeanService()
      Returns event and event type services.
      Returns:
      eventBeanService