Lombok Extensions for Esper
Budget: $250 – $750 USD
This project is about adding an extension to Lombok to generate Esper code.
This is focused on Lombok development, creating a new annotation for Esper. This project is not about developing in Esper (although will require working with Esper to validate the generated code works correctly.)
Lombok guidelines for contributing ... https://www.projectlombok.org/contributing/contributing
An example for writing a custom annotation ... https://github.com/sympower/symbok/
So for example, the Lombok Extension is to create the Esper code described below.
Esper requires that the AggregationFunction require three static methods on a class that will do aggregations: getFunctionName, a subclass of AggregationFunctionFactory, and a subclass of AggreationFunctionForge.
These classes are used when adding to the ConfigurationCompiler addPlugInAggregationFunctionForge, as demonstrated below.
compiler.addPlugInAggregationFunctionForge(NumberOpenOrders.getFunctionName(), NumberOpenOrders.ThisAggregationFunctionForge.class.getName());
compiler.addPlugInAggregationFunctionForge(FilledNotional.getFunctionName(), FilledNotional.ThisAggregationFunctionForge.class.getName());
An example Esper project will be provided so, minimal Esper knowledge is needed.
This is focused on Lombok development, creating a new annotation for Esper. This project is not about developing in Esper (although will require working with Esper to validate the generated code works correctly.)
Lombok guidelines for contributing ... https://www.projectlombok.org/contributing/contributing
An example for writing a custom annotation ... https://github.com/sympower/symbok/
So for example, the Lombok Extension is to create the Esper code described below.
Esper requires that the AggregationFunction require three static methods on a class that will do aggregations: getFunctionName, a subclass of AggregationFunctionFactory, and a subclass of AggreationFunctionForge.
These classes are used when adding to the ConfigurationCompiler addPlugInAggregationFunctionForge, as demonstrated below.
compiler.addPlugInAggregationFunctionForge(NumberOpenOrders.getFunctionName(), NumberOpenOrders.ThisAggregationFunctionForge.class.getName());
compiler.addPlugInAggregationFunctionForge(FilledNotional.getFunctionName(), FilledNotional.ThisAggregationFunctionForge.class.getName());
An example Esper project will be provided so, minimal Esper knowledge is needed.