private String getQueryName(ASTNode root) {
    ASTNode queryNameAST = (ASTNode)(root.getChild(1));
    return queryNameAST.getText();
  }
Analyzer for Prepare queries. This analyzer generates plan for the parameterized query
and save it in cache
ql/src/java/org/apache/hadoop/hive/ql/parse/PrepareStatementAnalyzer.java