The main class is the AnalyticsSampleEngine and accepts as arg either a number indicating the number of double values randomly generated or a text holding the path of a csv file that contains comma separated measurements in the following notation: urn,timestamp.value
-
In project's root dir, compile the classes with
javac -d ./ src/net/sparkworks/e2data/*.java
-
Make an executable jar
jar cvfm analytics.jar META-INF/MANIFEST.MF /net/sparkworks/e2data/*.class
-
Execute it with
java -jar analytics.jar 100
for 100 random values orjava -jar analytics.jar /path/to/file.csv
to load values from a csv file. A sample csv file is available in dataset.csv