if (query.length() > 0) {
out.write("\n <hr/>\n ");
HQLParser parser = new HQLParser(query, out, new HtmlTableFormatter(out));
Command cmd = parser.terminatedCommand();
if (cmd.getCommandType() != Command.CommandType.SELECT) {
out.write("\n <p>");
out.print( cmd.getCommandType() );
out.write("-type commands are disabled in this interface.</p>\n ");
} else {
ReturnMsg rm = cmd.execute(new HBaseConfiguration());
String summary = rm == null? "": rm.toString();
out.write("\n <p>");
out.print( summary );
out.write("</p>\n ");