Class JsonGetterMapRuntimeKeyedSchema
java.lang.Object
com.espertech.esper.common.internal.event.json.getter.fromschema.JsonGetterMapRuntimeKeyedSchema
- All Implemented Interfaces:
EventPropertyGetterMapped
,EventPropertyGetterMappedSPI
public final class JsonGetterMapRuntimeKeyedSchema
extends Object
implements EventPropertyGetterMappedSPI
Property getter for Json underlying fields.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneventBeanGetMappedCodegen
(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
-
JsonGetterMapRuntimeKeyedSchema
-
-
Method Details
-
eventBeanGetMappedCodegen
public CodegenExpression eventBeanGetMappedCodegen(CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope, CodegenExpression beanExpression, CodegenExpression key) - Specified by:
eventBeanGetMappedCodegen
in interfaceEventPropertyGetterMappedSPI
-
get
Description copied from interface:EventPropertyGetterMapped
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 interfaceEventPropertyGetterMapped
- Parameters:
eventBean
- is the event to get the value of a property frommapKey
- the map key value- Returns:
- value of property in event
- Throws:
PropertyAccessException
- to indicate that property access failed
-