sassy_94 0 Newbie Poster

Hello,
i am new to storm and stream data. I have implemented a sketch algorithm in java with maven. The algorithm has as an input a continuous stream of integers. The result is an array of integer frequencies and i want to run some queries on that array, but i don't have any idea how it will be done. Will it retrieve the result array from the topology and run on it from a java program?Will i use the maven sql plugin or something like Trident? Any kind of help would be extremely appreciated :)