Class AvroEventBeanGetterSimple
java.lang.Object
com.espertech.esper.common.internal.avro.getter.AvroEventBeanGetterSimple
- All Implemented Interfaces:
com.espertech.esper.common.client.EventPropertyGetter
,com.espertech.esper.common.client.EventPropertyValueGetter
,AvroEventPropertyGetter
,com.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
,com.espertech.esper.common.internal.event.core.EventPropertyValueGetterForge
-
Field Summary
Fields inherited from interface com.espertech.esper.common.client.EventPropertyValueGetter
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionAvroEventBeanGetterSimple
(int propertyIndex, com.espertech.esper.common.client.EventType fragmentType, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService, com.espertech.esper.common.client.type.EPType propertyType) -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
eventBeanExistsCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
eventBeanFragmentCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
eventBeanGetCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) get
(com.espertech.esper.common.client.EventBean theEvent) getAvroFieldValue
(org.apache.avro.generic.GenericData.Record record) getAvroFragment
(org.apache.avro.generic.GenericData.Record record) getFragment
(com.espertech.esper.common.client.EventBean obj) static Object
getFragmentAvro
(Object value, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService, com.espertech.esper.common.client.EventType fragmentType) NOTE: Code-generation-invoked method, method name and parameter order mattersboolean
isExistsProperty
(com.espertech.esper.common.client.EventBean eventBean) boolean
isExistsPropertyAvro
(org.apache.avro.generic.GenericData.Record record) com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
underlyingExistsCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
underlyingFragmentCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
underlyingGetCodegen
(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope)
-
Constructor Details
-
AvroEventBeanGetterSimple
public AvroEventBeanGetterSimple(int propertyIndex, com.espertech.esper.common.client.EventType fragmentType, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService, com.espertech.esper.common.client.type.EPType propertyType)
-
-
Method Details
-
getFragmentAvro
public static Object getFragmentAvro(Object value, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService, com.espertech.esper.common.client.EventType fragmentType) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
value
- valueeventAdapterService
- svcfragmentType
- type- Returns:
- fragment
-
getAvroFieldValue
public Object getAvroFieldValue(org.apache.avro.generic.GenericData.Record record) throws com.espertech.esper.common.client.PropertyAccessException - Specified by:
getAvroFieldValue
in interfaceAvroEventPropertyGetter
- Throws:
com.espertech.esper.common.client.PropertyAccessException
-
get
- Specified by:
get
in interfacecom.espertech.esper.common.client.EventPropertyValueGetter
-
isExistsProperty
public boolean isExistsProperty(com.espertech.esper.common.client.EventBean eventBean) - Specified by:
isExistsProperty
in interfacecom.espertech.esper.common.client.EventPropertyGetter
-
isExistsPropertyAvro
public boolean isExistsPropertyAvro(org.apache.avro.generic.GenericData.Record record) - Specified by:
isExistsPropertyAvro
in interfaceAvroEventPropertyGetter
-
getFragment
- Specified by:
getFragment
in interfacecom.espertech.esper.common.client.EventPropertyGetter
-
getAvroFragment
- Specified by:
getAvroFragment
in interfaceAvroEventPropertyGetter
-
eventBeanGetCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression eventBeanGetCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
eventBeanGetCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyValueGetterForge
-
eventBeanExistsCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression eventBeanExistsCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
eventBeanExistsCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
-
eventBeanFragmentCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression eventBeanFragmentCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression beanExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
eventBeanFragmentCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
-
underlyingGetCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingGetCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
underlyingGetCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
-
underlyingExistsCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExistsCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
underlyingExistsCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
-
underlyingFragmentCodegen
public com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingFragmentCodegen(com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression underlyingExpression, com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethodScope codegenMethodScope, com.espertech.esper.common.internal.bytecodemodel.base.CodegenClassScope codegenClassScope) - Specified by:
underlyingFragmentCodegen
in interfacecom.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
-