|
||||||||||
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(List<EventBean[]> eventVector)
Flatten the vector of arrays to an array. |
static UniformPair<Set<MultiKey<EventBean>>> |
flattenBatchJoin(List<UniformPair<Set<MultiKey<EventBean>>>> joinPostings)
Flattens a list of pairs of join result sets. |
static UniformPair<EventBean[]> |
flattenBatchStream(List<UniformPair<EventBean[]>> updateVector)
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(List<EventBean[]> eventVector)
eventVector
- vector
public static UniformPair<EventBean[]> flattenBatchStream(List<UniformPair<EventBean[]>> updateVector)
updateVector
- is a list of updates of old and new events
protected static EventBean[] append(EventBean[] source, EventBean[] append)
source
- arrayappend
- array
public static EventBean[] toArray(List<EventBean> eventList)
eventList
- is a list of events to convert
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.
public static UniformPair<Set<MultiKey<EventBean>>> flattenBatchJoin(List<UniformPair<Set<MultiKey<EventBean>>>> joinPostings)
joinPostings
- is the list
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |