@ Override public Iterator < ENTITY > iterator ( ) { StatementWrapper statementWrapper = new BoundStatementWrapper ( getOperationType ( boundStatement ) , meta , boundStatement , encodedBoundValues ) ; if ( LOGGER . isTraceEnabled ( ) ) { LOGGER . trace ( String . format ( "Generate iterator for typed query : %s" , statementWrapper . getBoundStatement ( ) . preparedStatement ( ) . getQueryString ( ) ) ) ; } CompletableFuture < ResultSet > futureRS = rte . execute ( statementWrapper ) ; return new EntityIteratorWrapper <> ( futureRS , meta , statementWrapper , options ) ; }
Execute the typed query and return an iterator of entities