final public LoopStatement loopStatement(ParseInfo info) throws ParseException { LoopStatement loopStmt = null; String cursor = null; QueryCommand query = null; Statement stmt = null; jj_consume_token(LOOP); jj_consume_token(ON); jj_consume_token(LPAREN); query = queryExpression(info); jj_consume_token(RPAREN); jj_consume_token(AS); cursor = id(null); stmt = statement(info); loopStmt = new LoopStatement(asBlock(stmt), query, cursor); {if (true) return loopStmt;} throw new Error("Missing return statement in function"); }
final public LoopStatement loopStatement(ParseInfo info) throws ParseException { LoopStatement loopStmt = null; String cursor = null; QueryCommand query = null; Statement stmt = null; jj_consume_token(LOOP); jj_consume_token(ON); jj_consume_token(LPAREN); query = queryExpression(info); jj_consume_token(RPAREN); jj_consume_token(AS); cursor = id(null); stmt = statement(info); loopStmt = new LoopStatement(asBlock(stmt), query, cursor); {if (true) return loopStmt;} throw new Error("Missing return statement in function"); }
final public LoopStatement loopStatement(ParseInfo info) throws ParseException { LoopStatement loopStmt = null; String cursor = null; QueryCommand query = null; Statement stmt = null; jj_consume_token(LOOP); jj_consume_token(ON); jj_consume_token(LPAREN); query = queryExpression(info); jj_consume_token(RPAREN); jj_consume_token(AS); cursor = id(null); stmt = statement(info); loopStmt = new LoopStatement(asBlock(stmt), query, cursor); {if (true) return loopStmt;} throw new Error("Missing return statement in function"); }
final public WithQueryCommand withListElement(ParseInfo info) throws ParseException { String name = null; List<ElementSymbol> columns = null; QueryCommand queryExpression = null; Token lparen = null; name = id(Boolean.FALSE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: columns = columnList(true, true); break; default: jj_la1[87] = jj_gen; ; } jj_consume_token(AS); lparen = jj_consume_token(LPAREN); queryExpression = queryExpression(info); jj_consume_token(RPAREN); WithQueryCommand result = new WithQueryCommand(new GroupSymbol(name), columns, queryExpression); parseWithHints(lparen, result); {if (true) return result;} throw new Error("Missing return statement in function"); }
final public WithQueryCommand withListElement(ParseInfo info) throws ParseException { String name = null; List<ElementSymbol> columns = null; QueryCommand queryExpression = null; Token lparen = null; name = id(Boolean.FALSE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: columns = columnList(true, true); break; default: jj_la1[88] = jj_gen; ; } jj_consume_token(AS); lparen = jj_consume_token(LPAREN); queryExpression = queryExpression(info); jj_consume_token(RPAREN); WithQueryCommand result = new WithQueryCommand(new GroupSymbol(name), columns, queryExpression); parseWithHints(lparen, result); {if (true) return result;} throw new Error("Missing return statement in function"); }
final public WithQueryCommand withListElement(ParseInfo info) throws ParseException { String name = null; List<ElementSymbol> columns = null; QueryCommand queryExpression = null; Token lparen = null; name = id(Boolean.FALSE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: columns = columnList(true, true); break; default: jj_la1[87] = jj_gen; ; } jj_consume_token(AS); lparen = jj_consume_token(LPAREN); queryExpression = queryExpression(info); jj_consume_token(RPAREN); WithQueryCommand result = new WithQueryCommand(new GroupSymbol(name), columns, queryExpression); parseWithHints(lparen, result); {if (true) return result;} throw new Error("Missing return statement in function"); }
final public QueryCommand subquery(ParseInfo info) throws ParseException { QueryCommand subquery = null; StoredProcedure proc = null; jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SELECT: case TABLE: case VALUES: case WITH: case LPAREN: subquery = queryExpression(info); break; case CALL: case EXEC: case EXECUTE: proc = storedProcedure(info, 1); subquery = new Query(new Select(Arrays.asList(new MultipleElementSymbol())), new From(Arrays.asList(new SubqueryFromClause("x", proc))), null, null, null); break; default: jj_la1[206] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jj_consume_token(RPAREN); {if (true) return subquery;} throw new Error("Missing return statement in function"); }
final public QueryCommand subquery(ParseInfo info) throws ParseException { QueryCommand subquery = null; StoredProcedure proc = null; jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SELECT: case TABLE: case VALUES: case WITH: case LPAREN: subquery = queryExpression(info); break; case CALL: case EXEC: case EXECUTE: proc = storedProcedure(info, 1); subquery = new Query(new Select(Arrays.asList(new MultipleElementSymbol())), new From(Arrays.asList(new SubqueryFromClause("x", proc))), null, null, null); break; default: jj_la1[207] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jj_consume_token(RPAREN); {if (true) return subquery;} throw new Error("Missing return statement in function"); }
final public QueryCommand subquery(ParseInfo info) throws ParseException { QueryCommand subquery = null; StoredProcedure proc = null; jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SELECT: case TABLE: case VALUES: case WITH: case LPAREN: subquery = queryExpression(info); break; case CALL: case EXEC: case EXECUTE: proc = storedProcedure(info, 1); subquery = new Query(new Select(Arrays.asList(new MultipleElementSymbol())), new From(Arrays.asList(new SubqueryFromClause("x", proc))), null, null, null); break; default: jj_la1[207] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jj_consume_token(RPAREN); {if (true) return subquery;} throw new Error("Missing return statement in function"); }
query = queryExpression(ParseInfo.DEFAULT_INSTANCE); table.setSelectTransformation((comment != null?comment.image+" ":"") + query.toString()); dbStore.tableCreated(table);
query = queryExpression(ParseInfo.DEFAULT_INSTANCE); table.setSelectTransformation((comment != null?comment.image+" ":"") + query.toString()); dbStore.tableCreated(table);
query = queryExpression(info); insert.setQueryExpression(query); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
query = queryExpression(info); insert.setQueryExpression(query); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case WITH: case LPAREN: command = queryExpression(info); break; case CALL:
query = queryExpression(info); insert.setQueryExpression(query); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case WITH: case LPAREN: command = queryExpression(info); break; case CALL:
case WITH: case LPAREN: command = queryExpression(info); break; case CALL:
case WITH: case LPAREN: command = queryExpression(info); break; case CALL:
case WITH: case LPAREN: command = queryExpression(info); break; case CALL:
case WITH: case LPAREN: command = queryExpression(info); break; case CALL: