public class JsonEventType extends BaseNestableEventType
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
protected Map<String,Pair<EventPropertyDescriptor,JsonEventBeanPropertyWriter>> |
propertyWriters |
protected EventPropertyDescriptor[] |
writablePropertyDescriptors |
beanEventTypeFactory, endTimestampPropertyName, getterFactory, metadata, nestableTypes, optionalDeepSupertypes, optionalSuperTypes, propertyDescriptors, propertyGetterCache, propertyItems, propertyNames, publicFields, startTimestampPropertyName
EPTYPEARRAY
Constructor and Description |
---|
JsonEventType(EventTypeMetadata metadata,
Map<String,Object> propertyTypes,
EventType[] optionalSuperTypes,
Set<EventType> optionalDeepSupertypes,
String startTimestampPropertyName,
String endTimestampPropertyName,
EventTypeNestableGetterFactory getterFactory,
BeanEventTypeFactory beanEventTypeFactory,
JsonEventTypeDetail detail,
EPTypeClass underlyingStandInClass) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber(String columnName) |
EventBeanCopyMethodForge |
getCopyMethodForge(String[] properties)
Returns the copy method, considering only the attached properties for a write operation onto the copy
|
JsonDelegateFactory |
getDelegateFactory() |
Class |
getDelegateType() |
JsonEventTypeDetail |
getDetail() |
EPTypeClass |
getUnderlyingEPType()
Get the full type information, including type parameters, that represents the Java type of the event type.
|
Class |
getUnderlyingType()
Get the class that represents the Java type of the event type.
|
EventPropertyDescriptor |
getWritableProperty(String propertyName)
Returns the descriptor for a writable property.
|
EventPropertyDescriptor[] |
getWriteableProperties()
Returns the writable properties.
|
JsonEventBeanPropertyWriter |
getWriter(String propertyName)
Return a writer for writing a single property value.
|
EventBeanWriter |
getWriter(String[] properties)
Returns the write for writing a set of properties.
|
void |
initialize(ClassLoader classLoader) |
boolean |
isDeepEqualsConsiderOrder(JsonEventType other) |
Object |
parse(String json) |
compareEquals, equalsCompareType, getDeepSuperTypes, getDeepSuperTypesAsSet, getEndTimestampPropertyName, getFragmentType, getGetter, getGetterIndexed, getGetterIndexedSPI, getGetterMapped, getGetterMappedSPI, getGetterSPI, getMetadata, getName, getPropertyDescriptor, getPropertyDescriptors, getPropertyEPType, getPropertyNames, getPropertyType, getStartTimestampPropertyName, getSuperTypes, getTypes, isDeepEqualsProperties, isProperty, setMetadataId
public static final EPTypeClass EPTYPE
protected EventPropertyDescriptor[] writablePropertyDescriptors
protected Map<String,Pair<EventPropertyDescriptor,JsonEventBeanPropertyWriter>> propertyWriters
public JsonEventType(EventTypeMetadata metadata, Map<String,Object> propertyTypes, EventType[] optionalSuperTypes, Set<EventType> optionalDeepSupertypes, String startTimestampPropertyName, String endTimestampPropertyName, EventTypeNestableGetterFactory getterFactory, BeanEventTypeFactory beanEventTypeFactory, JsonEventTypeDetail detail, EPTypeClass underlyingStandInClass)
public JsonEventBeanPropertyWriter getWriter(String propertyName)
EventTypeSPI
propertyName
- to write topublic EventPropertyDescriptor[] getWriteableProperties()
EventTypeSPI
public EventPropertyDescriptor getWritableProperty(String propertyName)
EventTypeSPI
propertyName
- to get descriptor forpublic EventBeanCopyMethodForge getCopyMethodForge(String[] properties)
EventTypeSPI
properties
- to write after copypublic EventBeanWriter getWriter(String[] properties)
EventTypeSPI
properties
- to writepublic Class getUnderlyingType()
EventType
EventType.getUnderlyingEPType()
to receive the parameterized type.public EPTypeClass getUnderlyingEPType()
EventType
public void initialize(ClassLoader classLoader)
public JsonEventTypeDetail getDetail()
public Class getDelegateType()
public JsonDelegateFactory getDelegateFactory()
public int getColumnNumber(String columnName)
public boolean isDeepEqualsConsiderOrder(JsonEventType other)
Copyright © 2005–2021. All rights reserved.