Create a CursoredStatement with the given parameterized sql query.
Create a CursoredStatement with the given parameterized sql query. The returned cursored statement can be reused and applied with varying parameters.
The cursored statements are built on a prepare -> execute -> fetch flow
that requires state tracking. It is important to either fully consume the resulting
stream, or explicitly call close()