[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Interface for a service to resolve event names to event type.

The following tables list the members exposed by the EventAdapterService type.

Public Methods

  NameDescription
AdapterForBean
Wrap the native event returning an net.esper.events.EventBean.

AdapterForCompositeEvent
Creates a wrapper for a composite event type. The wrapper wraps an event that consists of name-value pairs in which the values are other already-wrapped events.

AdapterForDOM
Returns an adapter for the XML DOM document that exposes it's data as event properties for use in statements.

AdapterForMap
Wrap the Map-type event returning an net.esper.events.EventBean using the event type alias name to identify the EventType that the event should carry.

AddBeanTypeOverloaded.
AddMapType
Add an event type with the given alias and a given set of properties. If the alias already exists with the same event property information, returns the existing EventType instance. If the alias already exists with different event property information, throws an exception. If the alias does not already exists, adds the alias and constructs a new net.esper.events.MapEventType.

CreateAddToEventType
Create an event type based on the original type passed in adding one or more properties.

CreateAnonymousCompositeType
Creates an unnamed composite event type with event properties that are name-value pairs with values being other event types. Pattern statement generate events of such type.

CreateAnonymousMapType
Creates a new anonymous EventType instance for an event type that contains a map of name value pairs. The method accepts a Map that contains the property names as keys and Class objects as the values. The Class instances represent the property types. New instances are created by this method on every invocation. Clients to this method need to cache the returned EventType instance to reuse EventType's for same-typed events.

CreateAnonymousMapTypeUnd
Creates a new anonymous EventType instance for an event type that contains a map of name value pairs. The method accepts a Map that contains the property names as keys and EventType objects as the values. The EventType instances represent the property types whose underlying class is used to set the type, via method CreateAnonymousMapType.

CreateMapFromUnderlying
Create an aggregate event wrapper bean from a set of named events stored in a Map.

CreateMapFromValues
Create an event wrapper bean from a set of event properties (name and value objectes) stored in a Map.

GetEventType
Return the event type for a given event name, or null if none is registered for that name.