com.espertech.esper.event
Class BaseNestableEventUtil
java.lang.Object
com.espertech.esper.event.BaseNestableEventUtil
public class BaseNestableEventUtil
- extends java.lang.Object
Method Summary |
static java.util.Map<java.lang.String,java.lang.Object> |
checkedCastUnderlyingMap(EventBean theEvent)
|
static java.lang.Object[] |
checkedCastUnderlyingObjectArray(EventBean theEvent)
|
static java.lang.String |
comparePropType(java.lang.String propName,
java.lang.Object setOneType,
java.lang.Object setTwoType,
boolean setTwoTypeFound,
java.lang.String otherName)
|
static java.lang.Object |
getArrayPropertyAsUnderlyingsArray(java.lang.Class underlyingType,
EventBean[] wrapper)
|
static java.lang.Object |
getArrayPropertyBean(EventBean[] wrapper,
int index)
|
static java.lang.Object |
getArrayPropertyFragment(EventBean[] wrapper,
int index,
EventPropertyGetter nestedGetter)
|
static java.lang.Object |
getArrayPropertyUnderlying(EventBean[] wrapper,
int index)
|
static java.lang.Object |
getArrayPropertyValue(EventBean[] wrapper,
int index,
EventPropertyGetter nestedGetter)
|
static java.lang.Object |
getBeanArrayValue(BeanEventPropertyGetter nestedGetter,
java.lang.Object value,
int index)
|
static java.lang.Object |
getFragmentArray(EventAdapterService eventAdapterService,
java.lang.Object value,
EventType fragmentEventType)
|
static EventBean |
getFragmentNonPojo(EventAdapterService eventAdapterService,
java.lang.Object fragmentUnderlying,
EventType fragmentEventType)
|
static java.lang.Object |
getFragmentPojo(java.lang.Object result,
BeanEventType eventType,
EventAdapterService eventAdapterService)
|
static BaseNestableEventUtil.MapIndexedPropPair |
getIndexedAndMappedProps(java.lang.String[] properties)
|
static java.lang.Object |
getIndexedValue(java.lang.Object value,
int index)
|
static boolean |
getMappedPropertyExists(java.lang.Object value,
java.lang.String key)
|
static java.lang.Object |
getMappedPropertyValue(java.lang.Object value,
java.lang.String key)
|
static java.lang.Object |
handleCreateFragmentMap(java.lang.Object value,
EventType fragmentEventType,
EventAdapterService eventAdapterService)
|
static java.lang.Object |
handleCreateFragmentObjectArray(java.lang.Object value,
EventType fragmentEventType,
EventAdapterService eventAdapterService)
|
static java.lang.Object |
handleNestedValueArrayWithMap(java.lang.Object value,
int index,
MapEventPropertyGetter getter)
|
static java.lang.Object |
handleNestedValueArrayWithMapFragment(java.lang.Object value,
int index,
MapEventPropertyGetter getter,
EventAdapterService eventAdapterService,
EventType fragmentType)
|
static java.lang.Object |
handleNestedValueArrayWithObjectArray(java.lang.Object value,
int index,
ObjectArrayEventPropertyGetter getter)
|
static java.lang.Object |
handleNestedValueArrayWithObjectArrayFragment(java.lang.Object value,
int index,
ObjectArrayEventPropertyGetter getter,
EventType fragmentType,
EventAdapterService eventAdapterService)
|
static boolean |
isExistsIndexedValue(java.lang.Object value,
int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseNestableEventUtil
public BaseNestableEventUtil()
checkedCastUnderlyingMap
public static java.util.Map<java.lang.String,java.lang.Object> checkedCastUnderlyingMap(EventBean theEvent)
throws PropertyAccessException
- Throws:
PropertyAccessException
checkedCastUnderlyingObjectArray
public static java.lang.Object[] checkedCastUnderlyingObjectArray(EventBean theEvent)
throws PropertyAccessException
- Throws:
PropertyAccessException
handleNestedValueArrayWithMap
public static java.lang.Object handleNestedValueArrayWithMap(java.lang.Object value,
int index,
MapEventPropertyGetter getter)
handleNestedValueArrayWithMapFragment
public static java.lang.Object handleNestedValueArrayWithMapFragment(java.lang.Object value,
int index,
MapEventPropertyGetter getter,
EventAdapterService eventAdapterService,
EventType fragmentType)
handleNestedValueArrayWithObjectArray
public static java.lang.Object handleNestedValueArrayWithObjectArray(java.lang.Object value,
int index,
ObjectArrayEventPropertyGetter getter)
handleNestedValueArrayWithObjectArrayFragment
public static java.lang.Object handleNestedValueArrayWithObjectArrayFragment(java.lang.Object value,
int index,
ObjectArrayEventPropertyGetter getter,
EventType fragmentType,
EventAdapterService eventAdapterService)
handleCreateFragmentMap
public static java.lang.Object handleCreateFragmentMap(java.lang.Object value,
EventType fragmentEventType,
EventAdapterService eventAdapterService)
handleCreateFragmentObjectArray
public static java.lang.Object handleCreateFragmentObjectArray(java.lang.Object value,
EventType fragmentEventType,
EventAdapterService eventAdapterService)
getMappedPropertyValue
public static java.lang.Object getMappedPropertyValue(java.lang.Object value,
java.lang.String key)
getMappedPropertyExists
public static boolean getMappedPropertyExists(java.lang.Object value,
java.lang.String key)
getIndexedAndMappedProps
public static BaseNestableEventUtil.MapIndexedPropPair getIndexedAndMappedProps(java.lang.String[] properties)
getIndexedValue
public static java.lang.Object getIndexedValue(java.lang.Object value,
int index)
isExistsIndexedValue
public static boolean isExistsIndexedValue(java.lang.Object value,
int index)
getFragmentNonPojo
public static EventBean getFragmentNonPojo(EventAdapterService eventAdapterService,
java.lang.Object fragmentUnderlying,
EventType fragmentEventType)
getFragmentArray
public static java.lang.Object getFragmentArray(EventAdapterService eventAdapterService,
java.lang.Object value,
EventType fragmentEventType)
getBeanArrayValue
public static java.lang.Object getBeanArrayValue(BeanEventPropertyGetter nestedGetter,
java.lang.Object value,
int index)
getFragmentPojo
public static java.lang.Object getFragmentPojo(java.lang.Object result,
BeanEventType eventType,
EventAdapterService eventAdapterService)
getArrayPropertyValue
public static java.lang.Object getArrayPropertyValue(EventBean[] wrapper,
int index,
EventPropertyGetter nestedGetter)
getArrayPropertyFragment
public static java.lang.Object getArrayPropertyFragment(EventBean[] wrapper,
int index,
EventPropertyGetter nestedGetter)
getArrayPropertyUnderlying
public static java.lang.Object getArrayPropertyUnderlying(EventBean[] wrapper,
int index)
getArrayPropertyBean
public static java.lang.Object getArrayPropertyBean(EventBean[] wrapper,
int index)
getArrayPropertyAsUnderlyingsArray
public static java.lang.Object getArrayPropertyAsUnderlyingsArray(java.lang.Class underlyingType,
EventBean[] wrapper)
comparePropType
public static java.lang.String comparePropType(java.lang.String propName,
java.lang.Object setOneType,
java.lang.Object setTwoType,
boolean setTwoTypeFound,
java.lang.String otherName)