private void getConnection(State state) {
        state.con = query.context().connectionProvider().get();
        debug("getting connection");
        debug("cp={}", query.context().connectionProvider());
    }
private void getConnection ( State state ) { state . con = query . context ( ) . connectionProvider ( ) . get ( ) ; debug ( "getting connection" ) ; debug ( "cp={}" , query . context ( ) . connectionProvider ( ) ) ; }
Gets the current connection.