Does this need to be in druid-api? We might want to change it at some point (especially when redoing indexing) and that could be easier in the main repo