code: public void init(SessionImpl session, SessionDataManager itemMgr, QueryHandler handler, String statement,
        String language) throws InvalidQueryException
     {
        checkNotInitialized();
        this.session = session;
        this.statement = statement;
        this.language = language;
        this.handler = handler;
        this.query = handler.createExecutableQuery(session, itemMgr, statement, language);
        setInitialized();
     }
docs: {@inheritDoc}