MOESM2 of Feasibility analysis of AsterixDB and Spark streaming with Cassandra for stream-based processing PääkkönenPekka 2016 Additional file 2. Sentiment analysis algorithm for AsterixDB: The file contains Java-based UDF implementation of sentiment analysis algorithm with an inverted index. An example illustrates how sentiment analysis algorithm is called from Test client by using AsterixDB’s REST API.