Class WrapperGetterIndexed
java.lang.Object
com.espertech.esper.common.internal.event.wrap.WrapperGetterIndexed
- All Implemented Interfaces:
EventPropertyGetterIndexed
,EventPropertyGetterIndexedSPI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneventBeanGetIndexedCodegen
(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key) Return the value for the property in the event object specified when the instance was obtained.
-
Constructor Details
-
WrapperGetterIndexed
-
-
Method Details
-
get
Description copied from interface:EventPropertyGetterIndexed
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.- Specified by:
get
in interfaceEventPropertyGetterIndexed
- Parameters:
event
- is the event to get the value of a property fromindex
- the index value- Returns:
- value of indexed property in event
- Throws:
PropertyAccessException
- to indicate that property access failed
-
eventBeanGetIndexedCodegen
public CodegenExpression eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key) - Specified by:
eventBeanGetIndexedCodegen
in interfaceEventPropertyGetterIndexedSPI
-