void include(String content) throws Exception {
    InputStream input = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    HplsqlLexer lexer = new HplsqlLexer(new ANTLRInputStream(input));
    CommonTokenStream tokens = new CommonTokenStream(lexer);
    HplsqlParser parser = newParser(tokens);
    ParseTree tree = parser.program(); 
    visit(tree);    
  }
Execute statements from an include file
hplsql/src/main/java/org/apache/hive/hplsql/Exec.java