Exemplo n.º 1
0
 protected UpdateAnalyzedStatement analyze(String statement, Object[][] bulkArgs) {
   return (UpdateAnalyzedStatement)
       analyzer
           .analyze(
               SqlParser.createStatement(statement),
               new ParameterContext(new Object[0], bulkArgs, Schemas.DEFAULT_SCHEMA_NAME))
           .analyzedStatement();
 }
 private Analysis analyze(String stmt) {
   Analyzer analyzer = internalCluster().getInstance(Analyzer.class);
   return analyzer.analyze(
       SqlParser.createStatement(stmt),
       new ParameterContext(new Object[0], new Object[0][], null));
 }