Class JsonEventBeanPropertyWriterIndexedProp
java.lang.Object
com.espertech.esper.common.internal.event.json.writer.JsonEventBeanPropertyWriter
com.espertech.esper.common.internal.event.json.writer.JsonEventBeanPropertyWriterIndexedProp
- All Implemented Interfaces:
EventPropertyWriter
,EventPropertyWriterSPI
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.event.json.writer.JsonEventBeanPropertyWriter
delegateFactory, field
Fields inherited from interface com.espertech.esper.common.internal.event.core.EventPropertyWriter
EPTYPE
-
Constructor Summary
ConstructorDescriptionJsonEventBeanPropertyWriterIndexedProp
(JsonDelegateFactory delegateFactory, JsonUnderlyingField propertyName, int index) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
jsonWriteArrayProp
(Object value, Object arrayEntry, int index) NOTE: Code-generation-invoked method, method name and parameter order mattersvoid
writeCodegen
(CodegenExpression assigned, CodegenExpression und, CodegenExpression target, CodegenMethodScope parent, CodegenClassScope classScope) Methods inherited from class com.espertech.esper.common.internal.event.json.writer.JsonEventBeanPropertyWriter
write
-
Constructor Details
-
JsonEventBeanPropertyWriterIndexedProp
public JsonEventBeanPropertyWriterIndexedProp(JsonDelegateFactory delegateFactory, JsonUnderlyingField propertyName, int index)
-
-
Method Details
-
write
- Overrides:
write
in classJsonEventBeanPropertyWriter
-
writeCodegen
public CodegenExpression writeCodegen(CodegenExpression assigned, CodegenExpression und, CodegenExpression target, CodegenMethodScope parent, CodegenClassScope classScope) - Specified by:
writeCodegen
in interfaceEventPropertyWriterSPI
- Overrides:
writeCodegen
in classJsonEventBeanPropertyWriter
-
jsonWriteArrayProp
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
value
- valuearrayEntry
- arrayindex
- index
-