Query Language Extensions For Advanced Analytics On Big Data And Their Efficient Implementation