return compileQuery(stmt, sql);
}
public QueryPlan compileQuery(CompilableStatement stmt, String query) throws SQLException {
if (stmt.getOperation().isMutation()) {
throw new ExecuteQueryNotApplicableException(query);
}
return stmt.compilePlan(this, Sequence.ValueOp.RESERVE_SEQUENCE);
}