Class VirtualDataWindowForgeContext

java.lang.Object
com.espertech.esper.common.client.hook.vdw.VirtualDataWindowForgeContext

public class VirtualDataWindowForgeContext extends Object
Context for use with virtual data window forge VirtualDataWindowForge provides contextual information about the named window and the type of events held.
  • Constructor Details

    • VirtualDataWindowForgeContext

      public VirtualDataWindowForgeContext(EventType eventType, Object[] parameters, com.espertech.esper.common.internal.epl.expression.core.ExprNode[] parameterExpressions, String namedWindowName, com.espertech.esper.common.internal.view.core.ViewForgeEnv viewForgeEnv, Serializable customConfiguration)
      Ctor.
      Parameters:
      eventType - the event type that the named window is declared to hold.
      parameters - the parameters passed when declaring the named window, for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.
      namedWindowName - the name of the named window
      parameterExpressions - parameter expressions passed to the virtual data window
      customConfiguration - additional configuration
      viewForgeEnv - view forge environment
  • Method Details

    • getEventType

      public EventType getEventType()
      Returns the event type of the events held in the virtual data window as per declaration of the named window.
      Returns:
      event type
    • getParameters

      public Object[] getParameters()
      Returns the parameters passed; for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.
      Returns:
      parameters
    • getNamedWindowName

      public String getNamedWindowName()
      Returns the name of the named window used in connection with the virtual data window.
      Returns:
      named window
    • getParameterExpressions

      public com.espertech.esper.common.internal.epl.expression.core.ExprNode[] getParameterExpressions()
      Returns the expressions passed as parameters to the virtual data window.
      Returns:
      parameter expressions
    • getCustomConfiguration

      public Serializable getCustomConfiguration()
      Returns any additional configuration provided.
      Returns:
      additional config
    • getViewForgeEnv

      public com.espertech.esper.common.internal.view.core.ViewForgeEnv getViewForgeEnv()
      Returns the view forge environment
      Returns:
      view forge environment