com.espertech.esper.client
Interface EventPropertyGetterIndexed

All Known Subinterfaces:
EventPropertyGetterAndIndexed, MapEventPropertyGetterAndIndexed, ObjectArrayEventPropertyGetterAndIndexed
All Known Implementing Classes:
ArrayFastPropertyGetter, ArrayFieldPropertyGetter, ArrayMethodPropertyGetter, IterableFastPropertyGetter, IterableFieldPropertyGetter, IterableMethodPropertyGetter, KeyedFastPropertyGetter, KeyedMethodPropertyGetter, ListFastPropertyGetter, ListFieldPropertyGetter, ListMethodPropertyGetter, MapArrayPOJOEntryIndexedPropertyGetter, MapArrayPropertyGetter, ObjectArrayArrayPOJOEntryIndexedPropertyGetter, ObjectArrayArrayPropertyGetter

public interface EventPropertyGetterIndexed

Get property values from an event instance for a given indexed event property by passing the array index. Instances that implement this interface are usually bound to a particular EventType and cannot be used to access EventBean instances of a different type.


Method Summary
 java.lang.Object get(EventBean eventBean, int index)
          Return the value for the property in the event object specified when the instance was obtained.
 

Method Detail

get

java.lang.Object get(EventBean eventBean,
                     int index)
                     throws PropertyAccessException
Return the value for the property in the event object specified when the instance was obtained. Useful for fast access to event properties. Throws a PropertyAccessException if the getter instance doesn't match the EventType it was obtained from, and to indicate other property access problems.

Parameters:
eventBean - is the event to get the value of a property from
index - the index value
Returns:
value of indexed property in event
Throws:
PropertyAccessException - to indicate that property access failed

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com