public class EventAdapterServiceImpl extends Object implements EventAdapterService
The implementation assigned a unique identifier to each event type. For Class-based event types, only one EventType instance and one event type id exists for the same class.
Event type names must be unique, that is an name must resolve to a single event type.
Each event type can have multiple names defined for it. For example, expressions such as "select * from A" and "select * from B" in which A and B are names for the same class X the select clauses each fireStatementStopped for events of type X. In summary, names A and B point to the same underlying event type and therefore event type id.
ANONYMOUS_TYPE_NAME_PREFIX
Constructor and Description |
---|
EventAdapterServiceImpl(EventTypeIdGenerator eventTypeIdGenerator,
int anonymousTypeCacheSize,
EventAdapterAvroHandler avroHandler,
EngineImportService engineImportService) |
Modifier and Type | Method and Description |
---|---|
EventBean |
adapterForAvro(Object avroGenericDataDotRecord,
String eventTypeName)
Construct an event bean for a given Avro GenericData.Record using the event type name to look up the Avro event type
|
EventBean |
adapterForBean(Object theEvent)
Create an event bean given an event of object id.
|
EventBean |
adapterForDOM(Node node)
Returns an adapter for the XML DOM document that exposes it's data as event properties for use in statements.
|
EventBean |
adapterForMap(Map<String,Object> theEvent,
String eventTypeName)
Wrap the Map-type event returning an
EventBean using the event type name
to identify the EventType that the event should carry. |
EventBean |
adapterForObjectArray(Object[] theEvent,
String eventTypeName)
Construct an event bean for a given Object-Array using the event type name to look up the Object-Array event type
|
EventBean |
adapterForType(Object theEvent,
EventType eventType)
Returns an adapter for an event underlying object when the event type is known.
|
EventBean |
adapterForTypedAvro(Object avroGenericDataDotRecord,
EventType eventType)
Construct an event bean for a given Avro GenericData.Record and given the Avro-event-type
|
EventBean |
adapterForTypedBean(Object bean,
EventType eventType)
Creates a thin adaper for an event object given an event type.
|
EventBean |
adapterForTypedDOM(Node node,
EventType eventType)
Returns an adapter for the XML DOM document that exposes it's data as event properties for use in statements.
|
EventBean |
adapterForTypedMap(Map<String,Object> properties,
EventType eventType)
Create an event map bean from a set of event properties (name and value objectes) stored in a Map.
|
EventBean |
adapterForTypedObjectArray(Object[] properties,
EventType eventType)
Construct an event bean for a given Object-Array and given the Object-Array-event-type
|
EventBean |
adapterForTypedWrapper(EventBean theEvent,
Map<String,Object> properties,
EventType eventType)
Creata a wrapper around an event and some additional properties
|
void |
addAutoNamePackage(String javaPackageName)
Adds a Java package name of a package that Java event classes reside in.
|
EventType |
addAvroType(String eventTypeName,
ConfigurationEventTypeAvro avro,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured,
boolean isNamedWindow,
boolean isInsertInto) |
EventType |
addAvroType(String eventTypeName,
Map<String,Object> types,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured,
boolean isNamedWindow,
boolean isInsertInto,
Annotation[] annotations,
ConfigurationEventTypeAvro config,
String statementName,
String engineURI) |
EventType |
addBeanType(String eventTypeName,
Class clazz,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured)
Add an event type with the given name and Java class.
|
EventType |
addBeanType(String eventTypeName,
String fullyQualClassName,
boolean considerAutoName,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured)
Add an event type for the given Java class name.
|
EventType |
addBeanTypeByName(String eventTypeName,
Class clazz,
boolean isNamedWindow) |
void |
addEventRepresentation(URI eventRepURI,
PlugInEventRepresentation pluginEventRep)
Add a plug-in event representation.
|
EventType |
addNestableMapType(String eventTypeName,
Map<String,Object> propertyTypesMayHavePrimitive,
ConfigurationEventTypeMap optionalConfig,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured,
boolean namedWindow,
boolean insertInto)
Add an event type with the given name and a given set of properties,
wherein properties may itself be Maps, nested and strongly-typed.
|
EventType |
addNestableObjectArrayType(String eventTypeName,
Map<String,Object> propertyTypesMayHavePrimitive,
ConfigurationEventTypeObjectArray optionalConfig,
boolean isPreconfiguredStatic,
boolean isPreconfigured,
boolean isConfigured,
boolean namedWindow,
boolean insertInto,
boolean table,
String tableName) |
EventType |
addPlugInEventType(String eventTypeName,
URI[] resolutionURIs,
Serializable initializer)
Adds a plug-in event type.
|
void |
addTypeByName(String name,
EventType eventType)
Adds an event type to the registery available for use, and originating outside as a non-adapter.
|
EventType |
addWrapperType(String eventTypeName,
EventType underlyingEventType,
Map<String,Object> propertyTypesMayPrimitive,
boolean isNamedWindow,
boolean isInsertInto)
Add an event type with the given name and the given underlying event type,
as well as the additional given properties.
|
EventType |
addXMLDOMType(String eventTypeName,
ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM,
SchemaModel optionalSchemaModel,
boolean isPreconfiguredStatic)
Add a configured XML DOM event type.
|
EventType |
createAnonymousAvroType(String typeName,
Map<String,Object> properties,
Annotation[] annotations,
String statementName,
String engineURI) |
EventType |
createAnonymousBeanType(String eventTypeName,
Class clazz) |
EventType |
createAnonymousMapType(String typeName,
Map<String,Object> propertyTypesMayHavePrimitive,
boolean isTransient)
Creates a new anonymous EventType instance for an event type that contains a map of name value pairs.
|
EventType |
createAnonymousObjectArrayType(String typeName,
Map<String,Object> propertyTypesMayHavePrimitive) |
EventType |
createAnonymousWrapperType(String typeName,
EventType underlyingEventType,
Map<String,Object> propertyTypesMayPrimitive)
Create a new anonymous event type with the given underlying event type,
as well as the additional given properties.
|
EventType |
createSemiAnonymousMapType(String typeName,
Map<String,Pair<EventType,String>> taggedEventTypes,
Map<String,Pair<EventType,String>> arrayEventTypes,
boolean isUsedByChildViews)
Creates an anonymous map that has no name, however in a fail-over scenario
events of this type may be recoverable and therefore the type is only semi-anonymous,
identified by the tags and event type names used.
|
EventBeanAdapterFactory |
getAdapterFactoryForType(EventType eventType) |
EventType[] |
getAllTypes()
Return all known event types.
|
BeanEventTypeFactory |
getBeanEventTypeFactory()
Returns a subset of the functionality of the service specific to creating POJO bean event types.
|
ConfigurationEventTypeLegacy |
getClassLegacyConfigs(String className)
Returns the configured legacy Java class information or null if none defined.
|
Map<String,EventType> |
getDeclaredEventTypes() |
EventSender |
getDynamicTypeEventSender(EPRuntimeEventSender epRuntime,
URI[] uri,
ThreadingService threadingService)
Returns an event sender that dynamically decides what the event type for a given object is.
|
EngineImportService |
getEngineImportService() |
EventAdapterAvroHandler |
getEventAdapterAvroHandler() |
EventType |
getExistsTypeByName(String eventTypeName)
Return the event type for a given event name, or null if none is registered for that name.
|
EventBeanManufacturer |
getManufacturer(EventType eventType,
WriteablePropertyDescriptor[] properties,
EngineImportService engineImportService,
boolean allowAnyType)
Returns a factory for creating and populating event object instances for the given type.
|
EventBeanSPI |
getShellForType(EventType eventType) |
EventSender |
getStaticTypeEventSender(EPRuntimeEventSender runtimeEventSender,
String eventTypeName,
ThreadingService threadingService)
Returns an event sender for a specific type, only generating events of that type.
|
TypeWidenerCustomizer |
getTypeWidenerCustomizer(EventType resultEventType) |
Set<WriteablePropertyDescriptor> |
getWriteableProperties(EventType eventType,
boolean allowAnyType)
Returns descriptors for all writable properties.
|
static String |
isCompatibleWrapper(EventType existingType,
EventType underlyingType,
Map<String,Object> propertyTypes)
Returns true if the wrapper type is compatible with an existing wrapper type, for the reason that
the underlying event is a subtype of the existing underlying wrapper's type.
|
boolean |
removeType(String name)
Removes an event type by a given name indicating by the return value whether the type
was found or not.
|
EventType |
replaceXMLEventType(String xmlEventTypeName,
ConfigurationEventTypeXMLDOM config,
SchemaModel schemaModel) |
void |
setClassLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
Set the legacy Java class type information.
|
void |
setDefaultAccessorStyle(ConfigurationEventTypeLegacy.AccessorStyle defaultAccessorStyle) |
void |
setDefaultPropertyResolutionStyle(Configuration.PropertyResolutionStyle defaultPropertyResolutionStyle)
Sets the default property resolution style.
|
EventBean[] |
typeCast(List<EventBean> events,
EventType targetType)
Casts event type of a list of events to either Wrapper or Map type.
|
void |
updateMapEventType(String mapeventTypeName,
Map<String,Object> typeMap)
Update a given Map event type.
|
void |
updateObjectArrayEventType(String objectArrayEventTypeName,
Map<String,Object> typeMap) |
public EventAdapterServiceImpl(EventTypeIdGenerator eventTypeIdGenerator, int anonymousTypeCacheSize, EventAdapterAvroHandler avroHandler, EngineImportService engineImportService)
public EngineImportService getEngineImportService()
getEngineImportService
in interface EventAdapterService
public Map<String,EventType> getDeclaredEventTypes()
getDeclaredEventTypes
in interface EventAdapterService
public void setClassLegacyConfigs(Map<String,ConfigurationEventTypeLegacy> classToLegacyConfigs)
setClassLegacyConfigs
in interface EventAdapterService
classToLegacyConfigs
- is the legacy class configspublic ConfigurationEventTypeLegacy getClassLegacyConfigs(String className)
EventAdapterService
getClassLegacyConfigs
in interface EventAdapterService
className
- is the fully-qualified class namepublic Set<WriteablePropertyDescriptor> getWriteableProperties(EventType eventType, boolean allowAnyType)
EventAdapterService
getWriteableProperties
in interface EventAdapterService
eventType
- to reflect onallowAnyType
- whether any type is allowed to be populatedpublic EventBeanManufacturer getManufacturer(EventType eventType, WriteablePropertyDescriptor[] properties, EngineImportService engineImportService, boolean allowAnyType) throws EventBeanManufactureException
EventAdapterService
getManufacturer
in interface EventAdapterService
eventType
- to create underlying objects forproperties
- to writeengineImportService
- engine importsallowAnyType
- whether any type is allowed to be populatedEventBeanManufactureException
- if a factory cannot be created for the typepublic EventType[] getAllTypes()
EventAdapterService
getAllTypes
in interface EventAdapterService
public void addTypeByName(String name, EventType eventType) throws EventAdapterException
EventAdapterService
addTypeByName
in interface EventAdapterService
name
- to add an event type undereventType
- the type to addEventAdapterException
- if the name is already in used by another typepublic void addEventRepresentation(URI eventRepURI, PlugInEventRepresentation pluginEventRep) throws EventAdapterException
EventAdapterService
addEventRepresentation
in interface EventAdapterService
eventRepURI
- URI is the unique identifier for the event representationpluginEventRep
- is the instanceEventAdapterException
public EventType addPlugInEventType(String eventTypeName, URI[] resolutionURIs, Serializable initializer) throws EventAdapterException
EventAdapterService
addPlugInEventType
in interface EventAdapterService
eventTypeName
- is the name of the event typeresolutionURIs
- is the URIs of plug-in event representations, or child URIs of suchinitializer
- is configs for the typeEventAdapterException
public EventSender getStaticTypeEventSender(EPRuntimeEventSender runtimeEventSender, String eventTypeName, ThreadingService threadingService) throws EventTypeException
EventAdapterService
getStaticTypeEventSender
in interface EventAdapterService
runtimeEventSender
- the runtime handle for sending the wrapped typeeventTypeName
- is the name of the event type to return the sender forthreadingService
- threading serviceEventTypeException
public void updateMapEventType(String mapeventTypeName, Map<String,Object> typeMap) throws EventAdapterException
EventAdapterService
updateMapEventType
in interface EventAdapterService
mapeventTypeName
- name to updatetypeMap
- additional properties to add, nesting allowedEventAdapterException
- when the type is not found or is not a Mappublic void updateObjectArrayEventType(String objectArrayEventTypeName, Map<String,Object> typeMap) throws EventAdapterException
updateObjectArrayEventType
in interface EventAdapterService
EventAdapterException
public EventSender getDynamicTypeEventSender(EPRuntimeEventSender epRuntime, URI[] uri, ThreadingService threadingService) throws EventTypeException
EventAdapterService
getDynamicTypeEventSender
in interface EventAdapterService
epRuntime
- the runtime handle for sending the wrapped typeuri
- is for plug-in event representations to provide implementations, if accepted, to make a wrapped eventthreadingService
- threading serviceEventTypeException
public BeanEventTypeFactory getBeanEventTypeFactory()
EventAdapterService
getBeanEventTypeFactory
in interface EventAdapterService
public void setDefaultPropertyResolutionStyle(Configuration.PropertyResolutionStyle defaultPropertyResolutionStyle)
setDefaultPropertyResolutionStyle
in interface EventAdapterService
defaultPropertyResolutionStyle
- is the default stylepublic void setDefaultAccessorStyle(ConfigurationEventTypeLegacy.AccessorStyle defaultAccessorStyle)
setDefaultAccessorStyle
in interface EventAdapterService
public EventType getExistsTypeByName(String eventTypeName)
EventAdapterService
getExistsTypeByName
in interface EventBeanService
getExistsTypeByName
in interface EventAdapterService
eventTypeName
- is the event type name to return type forpublic EventType addBeanType(String eventTypeName, Class clazz, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured) throws EventAdapterException
EventAdapterService
If the name already exists with the same Class, returns the existing EventType instance.
If the name already exists with different Class name, throws an exception.
If the name does not already exists, adds the name and constructs a new BeanEventType
.
addBeanType
in interface EventAdapterService
eventTypeName
- is the name for the event typeclazz
- is the fully Java classisPreconfiguredStatic
- indicator whether static configuredisPreconfigured
- indicator whether preconfiguredisConfigured
- if the class is application-configuredEventAdapterException
- if name already exists and doesn't match class namespublic EventType addBeanTypeByName(String eventTypeName, Class clazz, boolean isNamedWindow) throws EventAdapterException
addBeanTypeByName
in interface EventAdapterService
EventAdapterException
public EventBean adapterForBean(Object theEvent)
adapterForBean
in interface EventBeanService
adapterForBean
in interface EventAdapterService
theEvent
- is the event classpublic EventType addBeanType(String eventTypeName, String fullyQualClassName, boolean considerAutoName, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured) throws EventAdapterException
addBeanType
in interface EventAdapterService
eventTypeName
- is the namefullyQualClassName
- is the Java class nameconsiderAutoName
- whether auto-name by Java packages should be consideredisPreconfiguredStatic
- indicator whether static configuredisPreconfigured
- indicator whether preconfiguredisConfigured
- indicator whether from configsEventAdapterException
- if the Class name cannot resolve or other error occuredpublic EventType addNestableMapType(String eventTypeName, Map<String,Object> propertyTypesMayHavePrimitive, ConfigurationEventTypeMap optionalConfig, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured, boolean namedWindow, boolean insertInto) throws EventAdapterException
EventAdapterService
If the name already exists with the same event property information, returns the existing EventType instance.
If the name already exists with different event property information, throws an exception.
If the name does not already exists, adds the name and constructs a new MapEventType
.
addNestableMapType
in interface EventAdapterService
eventTypeName
- is the name for the event typepropertyTypesMayHavePrimitive
- is the names and types of event propertiesoptionalConfig
- an optional set of Map event type names that are supertypes to the typeisPreconfiguredStatic
- whether statically pre-configuredisPreconfigured
- whether pre-configuredisConfigured
- if the type is application-configurednamedWindow
- if the type is from a named windowinsertInto
- if inserting into a streamEventAdapterException
- if name already exists and doesn't match property type infopublic EventType addNestableObjectArrayType(String eventTypeName, Map<String,Object> propertyTypesMayHavePrimitive, ConfigurationEventTypeObjectArray optionalConfig, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured, boolean namedWindow, boolean insertInto, boolean table, String tableName) throws EventAdapterException
addNestableObjectArrayType
in interface EventAdapterService
EventAdapterException
public EventBean adapterForMap(Map<String,Object> theEvent, String eventTypeName) throws EPException
EventAdapterService
EventBean
using the event type name
to identify the EventType that the event should carry.adapterForMap
in interface EventBeanService
adapterForMap
in interface EventAdapterService
theEvent
- to be wrappedeventTypeName
- name for the event type of the eventEPException
public EventBean adapterForObjectArray(Object[] theEvent, String eventTypeName) throws EPException
EventBeanService
adapterForObjectArray
in interface EventBeanService
adapterForObjectArray
in interface EventAdapterService
theEvent
- event underlyingeventTypeName
- name of the Object-Array event typeEPException
public EventBean adapterForDOM(Node node)
EventAdapterService
adapterForDOM
in interface EventBeanService
adapterForDOM
in interface EventAdapterService
node
- is the node to wrappublic EventBean adapterForTypedDOM(Node node, EventType eventType)
EventAdapterService
adapterForTypedDOM
in interface EventBeanService
adapterForTypedDOM
in interface EventAdapterService
node
- is the node to wrapeventType
- the event type associated with the nodepublic EventType addXMLDOMType(String eventTypeName, ConfigurationEventTypeXMLDOM configurationEventTypeXMLDOM, SchemaModel optionalSchemaModel, boolean isPreconfiguredStatic)
addXMLDOMType
in interface EventAdapterService
eventTypeName
- is the name name of the event typeconfigurationEventTypeXMLDOM
- configures the event type schema and namespace and XPath
property information.optionalSchemaModel
- is the object model of the schema, or null in none providedisPreconfiguredStatic
- preconfigured thru static configpublic EventType replaceXMLEventType(String xmlEventTypeName, ConfigurationEventTypeXMLDOM config, SchemaModel schemaModel)
replaceXMLEventType
in interface EventAdapterService
public final EventBean adapterForType(Object theEvent, EventType eventType)
EventAdapterService
adapterForType
in interface EventBeanService
adapterForType
in interface EventAdapterService
theEvent
- underlyingeventType
- typepublic final EventBean adapterForTypedMap(Map<String,Object> properties, EventType eventType)
EventAdapterService
adapterForTypedMap
in interface EventBeanService
adapterForTypedMap
in interface EventAdapterService
properties
- is key-value pairs for the event propertieseventType
- is the type metadata for any maps of that typepublic final EventBean adapterForTypedObjectArray(Object[] properties, EventType eventType)
EventBeanService
adapterForTypedObjectArray
in interface EventBeanService
adapterForTypedObjectArray
in interface EventAdapterService
properties
- event underlyingeventType
- event type (Object-array only)public EventType addWrapperType(String eventTypeName, EventType underlyingEventType, Map<String,Object> propertyTypesMayPrimitive, boolean isNamedWindow, boolean isInsertInto) throws EventAdapterException
EventAdapterService
addWrapperType
in interface EventAdapterService
eventTypeName
- is the name for the event typeunderlyingEventType
- is the event type for the event type that this wrapper wrapspropertyTypesMayPrimitive
- is the names and types of any additional propertiesisNamedWindow
- if the type is from a named windowisInsertInto
- if inserting into a streamEventAdapterException
- if name already exists and doesn't match this type's infopublic static String isCompatibleWrapper(EventType existingType, EventType underlyingType, Map<String,Object> propertyTypes)
existingType
- is the existing wrapper typeunderlyingType
- is the proposed new wrapper type's underlying typepropertyTypes
- is the additional propertiespublic final EventType createAnonymousMapType(String typeName, Map<String,Object> propertyTypesMayHavePrimitive, boolean isTransient) throws EventAdapterException
EventAdapterService
New instances are createdStatement 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.
createAnonymousMapType
in interface EventAdapterService
typeName
- type namepropertyTypesMayHavePrimitive
- is a map of String to Class objectsisTransient
- transient types are not available by event type id lookup and recovery, they are always re-created on-the-flyEventAdapterException
public final EventType createAnonymousObjectArrayType(String typeName, Map<String,Object> propertyTypesMayHavePrimitive) throws EventAdapterException
createAnonymousObjectArrayType
in interface EventAdapterService
EventAdapterException
public final EventType createAnonymousAvroType(String typeName, Map<String,Object> properties, Annotation[] annotations, String statementName, String engineURI) throws EventAdapterException
createAnonymousAvroType
in interface EventAdapterService
EventAdapterException
public EventType createSemiAnonymousMapType(String typeName, Map<String,Pair<EventType,String>> taggedEventTypes, Map<String,Pair<EventType,String>> arrayEventTypes, boolean isUsedByChildViews)
EventAdapterService
createSemiAnonymousMapType
in interface EventAdapterService
typeName
- type nametaggedEventTypes
- simple type per property namearrayEventTypes
- array type per property nameisUsedByChildViews
- if the type is going to be in used by child viewspublic final EventType createAnonymousWrapperType(String typeName, EventType underlyingEventType, Map<String,Object> propertyTypesMayPrimitive) throws EventAdapterException
EventAdapterService
createAnonymousWrapperType
in interface EventAdapterService
typeName
- type nameunderlyingEventType
- is the event type for the event type that this wrapper wrapspropertyTypesMayPrimitive
- is the names and types of any additional propertiesEventAdapterException
- if name already exists and doesn't match this type's infopublic final EventBean adapterForTypedWrapper(EventBean theEvent, Map<String,Object> properties, EventType eventType)
EventAdapterService
adapterForTypedWrapper
in interface EventAdapterService
theEvent
- is the wrapped eventproperties
- are the additional propertieseventType
- os the type metadata for any wrappers of this typepublic final EventBean adapterForTypedBean(Object bean, EventType eventType)
EventAdapterService
adapterForTypedBean
in interface EventBeanService
adapterForTypedBean
in interface EventAdapterService
bean
- event objecteventType
- event typepublic void addAutoNamePackage(String javaPackageName)
EventAdapterService
addAutoNamePackage
in interface EventAdapterService
javaPackageName
- is the fully-qualified Java package name of the Java package that event classes reside inpublic EventType createAnonymousBeanType(String eventTypeName, Class clazz)
createAnonymousBeanType
in interface EventAdapterService
public EventBean[] typeCast(List<EventBean> events, EventType targetType)
EventAdapterService
typeCast
in interface EventAdapterService
events
- to casttargetType
- target typepublic boolean removeType(String name)
EventAdapterService
Does not uncache an existing class loaded by a JVM. Does remove XML root element names. Does not handle value-add event types.
removeType
in interface EventAdapterService
name
- to removepublic EventBeanSPI getShellForType(EventType eventType)
getShellForType
in interface EventAdapterService
public EventBeanAdapterFactory getAdapterFactoryForType(EventType eventType)
getAdapterFactoryForType
in interface EventAdapterService
public EventType addAvroType(String eventTypeName, ConfigurationEventTypeAvro avro, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured, boolean isNamedWindow, boolean isInsertInto) throws EventAdapterException
addAvroType
in interface EventAdapterService
EventAdapterException
public EventType addAvroType(String eventTypeName, Map<String,Object> types, boolean isPreconfiguredStatic, boolean isPreconfigured, boolean isConfigured, boolean isNamedWindow, boolean isInsertInto, Annotation[] annotations, ConfigurationEventTypeAvro config, String statementName, String engineURI) throws EventAdapterException
addAvroType
in interface EventAdapterService
EventAdapterException
public EventBean adapterForAvro(Object avroGenericDataDotRecord, String eventTypeName)
EventBeanService
adapterForAvro
in interface EventBeanService
adapterForAvro
in interface EventAdapterService
avroGenericDataDotRecord
- event underlyingeventTypeName
- name of the Avro event typepublic EventBean adapterForTypedAvro(Object avroGenericDataDotRecord, EventType eventType)
EventBeanService
adapterForTypedAvro
in interface EventBeanService
adapterForTypedAvro
in interface EventAdapterService
avroGenericDataDotRecord
- event underlyingeventType
- event type (Avro only)public EventAdapterAvroHandler getEventAdapterAvroHandler()
getEventAdapterAvroHandler
in interface EventAdapterService
public TypeWidenerCustomizer getTypeWidenerCustomizer(EventType resultEventType)
getTypeWidenerCustomizer
in interface EventAdapterService