feat: support Directed Read in Connection API by olavloite · Pull Request #2855 · googleapis/java-spanner (original) (raw)

I'm not sure why you feel that. It calls the method executeQuery. Or am I missing something here?

If any, I would maybe otherwise suggest executeQueryAndConsumeResults (the latter is why I put it in a separate method, so we didn't have to repeat the empty while(resultSet.next()) block in every test method.