getData & resultset changes
1. getData() is overloaded with more parameters support like query sub
type & interval
2. Api ensures that nothing can be called untill Resultset is completely
read.