final public SqlNode NamedRoutineCall(SqlFunctionCategory routineType, ExprContext exprContext) throws ParseException { SqlIdentifier name; SqlNodeList args; SqlParserPos pos; name = CompoundIdentifier(); pos = getPos(); if (jj_2_44(2)) { jj_consume_token(LPAREN); pos = getPos(); jj_consume_token(RPAREN); pos = pos.plus(getPos()); args = new SqlNodeList(pos); } else if (jj_2_45(2)) { args = ParenthesizedQueryOrCommaList(exprContext); pos = pos.plus(getPos()); } else { jj_consume_token(-1); throw new ParseException(); } SqlNode function = createCall( name, pos, routineType, null, SqlParserUtil.toNodeArray(args)); {if (true) return function;} throw new Error("Missing return statement in function"); }
final public SqlNode NamedRoutineCall(SqlFunctionCategory routineType, ExprContext exprContext) throws ParseException { SqlIdentifier name; SqlNodeList args; SqlParserPos pos; name = CompoundIdentifier(); pos = getPos(); if (jj_2_45(2)) { jj_consume_token(LPAREN); pos = getPos(); jj_consume_token(RPAREN); pos = pos.plus(getPos()); args = new SqlNodeList(pos); } else if (jj_2_46(2)) { args = ParenthesizedQueryOrCommaList(exprContext); pos = pos.plus(getPos()); } else { jj_consume_token(-1); throw new ParseException(); } SqlNode function = createCall( name, pos, routineType, null, SqlParserUtil.toNodeArray(args)); {if (true) return function;} throw new Error("Missing return statement in function"); }
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_329(2)) { jj_consume_token(EXTRACT); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.EXTRACT.createCall( pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_330(2)) { jj_consume_token(POSITION); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.POSITION.createCall( pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_331(2)) { jj_consume_token(CONVERT); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.CONVERT.createCall( pos, SqlParserUtil.toNodeArray(args));} } else if (jj_2_332(2)) { jj_consume_token(TRANSLATE); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.TRANSLATE.createCall( pos, SqlParserUtil.toNodeArray(args));} } else if (jj_2_333(2)) { jj_consume_token(OVERLAY); pos.plus(getPos()), SqlParserUtil.toNodeArray(args));}
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_317(2)) { jj_consume_token(EXTRACT); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.extractFunc.createCall( pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_318(2)) { jj_consume_token(POSITION); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.positionFunc.createCall( pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else if (jj_2_319(2)) { jj_consume_token(CONVERT); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.convertFunc.createCall( pos, SqlParserUtil.toNodeArray(args));} } else if (jj_2_320(2)) { jj_consume_token(TRANSLATE); jj_consume_token(RPAREN); {if (true) return SqlStdOperatorTable.translateFunc.createCall( pos, SqlParserUtil.toNodeArray(args));} } else if (jj_2_321(2)) { jj_consume_token(OVERLAY); pos.plus(getPos()), SqlParserUtil.toNodeArray(args));}
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
SqlParserUtil.toNodeArray(args));
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} } else { jj_consume_token(-1);
SqlParserUtil.toNodeArray(args));
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} throw new Error("Missing return statement in function");
pos, SqlParserUtil.toNodeArray(list));} } else if (jj_2_171(2)) { op = PrefixRowOperator(); {if (true) return SqlStdOperatorTable.minusDateOperator.createCall( list1.getParserPosition().plus(getPos()), SqlParserUtil.toNodeArray(list3));}
pos.plus(getPos()), SqlParserUtil.toNodeArray(args));} throw new Error("Missing return statement in function");
{if (true) return SqlStdOperatorTable.MINUS_DATE.createCall( list1.getParserPosition().plus(getPos()), SqlParserUtil.toNodeArray(list3));}