|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.EventBeanUtility
public class EventBeanUtility
Method to getSelectListEvents events in collections to other collections or other event types.
Constructor Summary | |
---|---|
EventBeanUtility()
|
Method Summary | |
---|---|
protected static EventBean[] |
append(EventBean[] source,
EventBean[] append)
Append arrays. |
static EventBean[] |
flatten(Vector<EventBean[]> eventVector)
Flatten the vector of arrays to an array. |
static MultiKeyUntyped |
getMultiKey(EventBean event,
EventPropertyGetter[] propertyGetters)
Returns Multikey instance for given event and getters. |
static Object[] |
getPropertyArray(EventBean event,
EventPropertyGetter[] propertyGetters)
Returns object array containing property values of given properties, retrieved via EventPropertyGetter instances. |
static String |
printEvent(EventBean event)
Format the event and return a string representation. |
static EventBean[] |
toArray(List<EventBean> eventList)
Convert list of events to array, returning null for empty or null lists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBeanUtility()
Method Detail |
---|
public static EventBean[] flatten(Vector<EventBean[]> eventVector)
eventVector
- vector
protected static EventBean[] append(EventBean[] source, EventBean[] append)
source
- arrayappend
- array
public static EventBean[] toArray(List<EventBean> eventList)
eventList
-
public static Object[] getPropertyArray(EventBean event, EventPropertyGetter[] propertyGetters)
event
- - event to get property values frompropertyGetters
- - getters to use for getting property values
public static MultiKeyUntyped getMultiKey(EventBean event, EventPropertyGetter[] propertyGetters)
event
- - event to get property values frompropertyGetters
- - getters for access to properties
public static String printEvent(EventBean event)
event
- is the event to format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |