Implement queries, and indexing on the DatumStores