context.getSql(), WaspSqlParserUtils.WASP); // JdbcUtils.MYSQL
// JdbcUtils.HBASE
// WaspSqlParserUtils.WASP
List<SQLStatement> stmtList = parser.parseStatementList();
if (stmtList == null) {
throw new UnsupportedException("Non SQLStatement");
}
if (stmtList.size() > 1) {
throw new UnsupportedException("Multi SQLStatement Unsupported"
+ ", there is " + stmtList.size() + " SQLStatement");
}
// StmtList could be a list,but we only use an element.
context.setStmt(stmtList.get(0));
}