Support getKeyRange and getKeySet