Class JsonFieldGetterHelperSchema

java.lang.Object
com.espertech.esper.common.internal.event.json.getter.fromschema.JsonFieldGetterHelperSchema

public class JsonFieldGetterHelperSchema extends Object
  • Constructor Details

    • JsonFieldGetterHelperSchema

      public JsonFieldGetterHelperSchema()
  • Method Details

    • getJsonIndexedProp

      public static Object getJsonIndexedProp(Object object, int propertyNumber, int index) throws PropertyAccessException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      object - object
      propertyNumber - field number
      index - index
      Returns:
      value
      Throws:
      PropertyAccessException - property access exceptions
    • getJsonMappedProp

      public static Object getJsonMappedProp(Object object, int propertyNumber, String key) throws PropertyAccessException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      object - object
      propertyNumber - field number
      key - key
      Returns:
      value
      Throws:
      PropertyAccessException - property access exceptions
    • getJsonMappedExists

      public static boolean getJsonMappedExists(Object object, int propertyNumber, String key) throws PropertyAccessException
      Throws:
      PropertyAccessException
    • handleJsonCreateFragmentSimple

      public static EventBean handleJsonCreateFragmentSimple(JsonEventObjectBase und, int propNumber, EventType fragmentType, EventBeanTypedEventFactory factory)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      und - underlying
      propNumber - property number
      fragmentType - event type
      factory - factory
      Returns:
      event bean or null
    • handleJsonCreateFragmentIndexed

      public static EventBean handleJsonCreateFragmentIndexed(JsonEventObjectBase und, int propNumber, int index, EventType fragmentType, EventBeanTypedEventFactory factory)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      und - underlying
      propNumber - property number
      fragmentType - event type
      factory - factory
      index - index
      Returns:
      event bean or null
    • handleJsonCreateFragmentArray

      public static EventBean[] handleJsonCreateFragmentArray(JsonEventObjectBase und, int propNumber, EventType fragmentType, EventBeanTypedEventFactory factory) throws PropertyAccessException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      und - underlying
      propNumber - property number
      fragmentType - event type
      factory - factory
      Returns:
      event bean or null
      Throws:
      PropertyAccessException