Class AvroEventBeanGetterNestedMultiLevel

java.lang.Object
com.espertech.esper.common.internal.avro.getter.AvroEventBeanGetterNestedMultiLevel
All Implemented Interfaces:
com.espertech.esper.common.client.EventPropertyGetter, com.espertech.esper.common.client.EventPropertyValueGetter, com.espertech.esper.common.internal.event.core.EventPropertyGetterSPI, com.espertech.esper.common.internal.event.core.EventPropertyValueGetterForge

public class AvroEventBeanGetterNestedMultiLevel extends Object implements com.espertech.esper.common.internal.event.core.EventPropertyGetterSPI
  • Field Summary

    Fields inherited from interface com.espertech.esper.common.client.EventPropertyValueGetter

    EPTYPE, EPTYPEARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    AvroEventBeanGetterNestedMultiLevel(int top, int[] path, com.espertech.esper.common.client.EventType fragmentEventType, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    static boolean
    existsRecordValueTopWPath(org.apache.avro.generic.GenericData.Record record, int top, int[] path)
    NOTE: Code-generation-invoked method, method name and parameter order matters
    get(com.espertech.esper.common.client.EventBean eventBean)
     
    getFragment(com.espertech.esper.common.client.EventBean eventBean)
     
    static Object
    getRecordValueTopWPath(org.apache.avro.generic.GenericData.Record record, int top, int[] path)
    NOTE: Code-generation-invoked method, method name and parameter order matters
    boolean
    isExistsProperty(com.espertech.esper.common.client.EventBean eventBean)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AvroEventBeanGetterNestedMultiLevel

      public AvroEventBeanGetterNestedMultiLevel(int top, int[] path, com.espertech.esper.common.client.EventType fragmentEventType, com.espertech.esper.common.internal.event.core.EventBeanTypedEventFactory eventAdapterService)
  • Method Details

    • getRecordValueTopWPath

      public static Object getRecordValueTopWPath(org.apache.avro.generic.GenericData.Record record, int top, int[] path) throws com.espertech.esper.common.client.PropertyAccessException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      record - record
      top - top index
      path - path of indexes
      Returns:
      value
      Throws:
      com.espertech.esper.common.client.PropertyAccessException - property access problem
    • existsRecordValueTopWPath

      public static boolean existsRecordValueTopWPath(org.apache.avro.generic.GenericData.Record record, int top, int[] path) throws com.espertech.esper.common.client.PropertyAccessException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      record - record
      top - top index
      path - path of indexes
      Returns:
      value
      Throws:
      com.espertech.esper.common.client.PropertyAccessException - property access problem
    • get

      public Object get(com.espertech.esper.common.client.EventBean eventBean) throws com.espertech.esper.common.client.PropertyAccessException
      Specified by:
      get in interface com.espertech.esper.common.client.EventPropertyValueGetter
      Throws:
      com.espertech.esper.common.client.PropertyAccessException
    • isExistsProperty

      public boolean isExistsProperty(com.espertech.esper.common.client.EventBean eventBean)
      Specified by:
      isExistsProperty in interface com.espertech.esper.common.client.EventPropertyGetter
    • getFragment

      public Object getFragment(com.espertech.esper.common.client.EventBean eventBean) throws com.espertech.esper.common.client.PropertyAccessException
      Specified by:
      getFragment in interface com.espertech.esper.common.client.EventPropertyGetter
      Throws:
      com.espertech.esper.common.client.PropertyAccessException
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.espertech.esper.common.internal.event.core.EventPropertyGetterSPI