protected SelectStatement init() {
try {
InputStream is = _sql.openInputStream();
String content = new String(StreamUtil.getContent(is));
is.close();
QueryParser parser = new QueryParser(Token.tokenize(content), _db.getDBData());
return parser.parseTopLevelSelect();
} catch (IOException e) {
throw GosuExceptionUtil.forceThrow(e);
}
}
};