Class JsonFieldGetterHelperSchema
java.lang.Object
com.espertech.esper.common.internal.event.json.getter.fromschema.JsonFieldGetterHelperSchema
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getJsonIndexedProp
(Object object, int propertyNumber, int index) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic boolean
getJsonMappedExists
(Object object, int propertyNumber, String key) static Object
getJsonMappedProp
(Object object, int propertyNumber, String key) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean[]
handleJsonCreateFragmentArray
(JsonEventObjectBase und, int propNumber, EventType fragmentType, EventBeanTypedEventFactory factory) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean
handleJsonCreateFragmentIndexed
(JsonEventObjectBase und, int propNumber, int index, EventType fragmentType, EventBeanTypedEventFactory factory) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean
handleJsonCreateFragmentSimple
(JsonEventObjectBase und, int propNumber, EventType fragmentType, EventBeanTypedEventFactory factory) NOTE: Code-generation-invoked method, method name and parameter order matters
-
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
- objectpropertyNumber
- field numberindex
- 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
- objectpropertyNumber
- field numberkey
- 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
- underlyingpropNumber
- property numberfragmentType
- event typefactory
- 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
- underlyingpropNumber
- property numberfragmentType
- event typefactory
- factoryindex
- 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
- underlyingpropNumber
- property numberfragmentType
- event typefactory
- factory- Returns:
- event bean or null
- Throws:
PropertyAccessException
-