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 TypeMethodDescriptioncom.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 foundcom.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
getEventTypePreconfigured
(String eventTypeName) Returns the event type for a preconfigured event type.
-
Method Details
-
getEventTypePreconfigured
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
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 deploymenteventTypeName
- event type name of an event type created by the respective deployment- Returns:
- event type or null if not found
-
getBusEventType
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
-