sample data analytics in Mongo using Java Program