Class JsonGetterIndexedRuntimeIndexProvided
java.lang.Object
com.espertech.esper.common.internal.event.json.getter.provided.JsonGetterIndexedRuntimeIndexProvided
- All Implemented Interfaces:
EventPropertyGetterIndexed
,EventPropertyGetterIndexedSPI
public final class JsonGetterIndexedRuntimeIndexProvided
extends Object
implements EventPropertyGetterIndexedSPI
Property getter for Json underlying fields.
-
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
-
JsonGetterIndexedRuntimeIndexProvided
-
-
Method Details
-
eventBeanGetIndexedCodegen
public CodegenExpression eventBeanGetIndexedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key) - Specified by:
eventBeanGetIndexedCodegen
in interfaceEventPropertyGetterIndexedSPI
-
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:
eventBean
- 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
-