Interface EPEventTypeService

All Known Implementing Classes:
EPEventTypeServiceImpl

public interface EPEventTypeService
Service for managing event types.

Each statement provides its associated event type, see EPStatement.getEventType().

  • Method Summary

    Modifier and Type
    Method
    Description
    com.espertech.esper.common.client.EventType
    getBusEventType(String eventTypeName)
    Returns the event type that has bus-visibility or null in case that the event type is not found
    com.espertech.esper.common.client.EventType
    getEventType(String deploymentId, String eventTypeName)
    Returns the event type as defined by a given deployment.
    com.espertech.esper.common.client.EventType
    Returns the event type for a preconfigured event type.
  • Method Details

    • getEventTypePreconfigured

      com.espertech.esper.common.client.EventType getEventTypePreconfigured(String eventTypeName)
      Returns the event type for a preconfigured event type.
      Parameters:
      eventTypeName - event type name of a preconfigured event type
      Returns:
      event type or null if not found
    • getEventType

      com.espertech.esper.common.client.EventType getEventType(String deploymentId, String eventTypeName)
      Returns the event type as defined by a given deployment.

      Returns only event types that have public or protected access modifier. Does not return event types with private access modifier. Use EPStatement.getEventType() instead.

      Parameters:
      deploymentId - deployment id of the deployment
      eventTypeName - event type name of an event type created by the respective deployment
      Returns:
      event type or null if not found
    • getBusEventType

      com.espertech.esper.common.client.EventType getBusEventType(String eventTypeName)
      Returns the event type that has bus-visibility or null in case that the event type is not found
      Parameters:
      eventTypeName - name
      Returns:
      event type or null