APISonar


com.espertech.esper.common.client.util.EventUnderlyingType.JSON

> com > espertech > esper > common > client > util > EventUnderlyingType > JSON
com APIs espertech APIs esper APIs common APIs client APIs util APIs EventUnderlyingType APIs JSON APIs

Example 1
public JsonEventType createJson(EventTypeMetadata metadata, LinkedHashMap<String, Object> properties, String[] superTypes, String startTimestampPropertyName, String endTimestampPropertyName, BeanEventTypeFactory beanEventTypeFactory, EventTypeNameResolver eventTypeNameResolver, JsonEventTypeDetail detail) {
        Pair<EventType[], Set<EventType>> st = EventTypeUtility.getSuperTypesDepthFirst(superTypes, EventUnderlyingType.JSON, eventTypeNameResolver);
        properties = BaseNestableEventUtil.resolvePropertyTypes(properties, eventTypeNameResolver);
        EventTypeNestableGetterFactoryJson getterFactoryJson = new EventTypeNestableGetterFactoryJson(detail);
        // We use a null-stand-in class as the actual underlying class is provided later
        return new JsonEventType(metadata, properties,
            st.getFirst(), st.getSecond(), startTimestampPropertyName, endTimestampPropertyName, getterFactoryJson, beanEventTypeFactory, detail, null);
    }