class QueryPreparer {

    public PreparedQuery prepareQuery(Session session, String query)
            throws ParsingException, PrestoException
    {
        Statement wrappedStatement = sqlParser.createStatement(query, createParsingOptions(session));
        return prepareQuery(session, wrappedStatement);
    }

    @Inject public  QueryPreparer(SqlParser sqlParser);

}