Task Overview for Processing Data Using Analytics Processors
Create analytics processors, generate the source template, and implement the logic for processing and analyzing data. You can also import external Java libraries to use them from the code of your analytics processor.
The following table describes the tasks you can perform to define how to process your data:
Task | Description | More Information |
---|---|---|
Create an analytics processor. | Define the properties for your analytics processor, and the links you’ll need to access from the analytics processor code. Then generate the source template and the underlying infrastructure to run your analytics processor. | |
Implement the logic. | Edit the source template of your analytics processor to implement the logic to process and analyze data. The code is written in Java. You can use the Java Spark APIs, and the Java libraries that you imported to your IoT application. | |
Import Java libraries. | Import external Java libraries to be able to use them from the code of your analytics processor. When you generate the source template for your analytics processor, the import statements for these libraries are automatically added to the code. | |
Develop analytics with an IDE. | Export your analytics project to develop your analytics processors in an IDE that supports Apache Maven. The exported project contains all the dependencies that you need to develop and build your analytics project. |
Edit Analytics Processors with an IDE |