An end to end framework for building data cubes over trajectory data streams