**Feature Summary** Support random cursor related interface for eloqdoc. This will be used by sampling. **Motivation** <!-- Why is this feature needed? What problem does it solve? --> **Proposed Solution** <!-- How do you imagine it being implemented or used? -->