null); } else { sc = (SqlCall) SqlWindow.createFollowing(amt, pos); rwb = RexWindowBound.create(sc, cluster.getRexBuilder().makeCall(sc.getOperator(), amtLiteral));
null); } else { sc = (SqlCall) SqlWindow.createFollowing(amt, pos); rwb = RexWindowBound.create(sc, cluster.getRexBuilder().makeCall(sc.getOperator(), amtLiteral));
} else if (jj_2_187(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_187(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_189(2)) { jj_consume_token(FOLLOWING); {if ("" != null) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
private SqlNode createSqlWindowBound(RexWindowBound rexWindowBound) { if (rexWindowBound.isCurrentRow()) { return SqlWindow.createCurrentRow(POS); } if (rexWindowBound.isPreceding()) { if (rexWindowBound.isUnbounded()) { return SqlWindow.createUnboundedPreceding(POS); } else { SqlNode literal = toSql(null, rexWindowBound.getOffset()); return SqlWindow.createPreceding(literal, POS); } } if (rexWindowBound.isFollowing()) { if (rexWindowBound.isUnbounded()) { return SqlWindow.createUnboundedFollowing(POS); } else { SqlNode literal = toSql(null, rexWindowBound.getOffset()); return SqlWindow.createFollowing(literal, POS); } } throw new AssertionError("Unsupported Window bound: " + rexWindowBound); }
private SqlNode createSqlWindowBound(RexWindowBound rexWindowBound) { if (rexWindowBound.isCurrentRow()) { return SqlWindow.createCurrentRow(POS); } if (rexWindowBound.isPreceding()) { if (rexWindowBound.isUnbounded()) { return SqlWindow.createUnboundedPreceding(POS); } else { SqlNode literal = toSql(null, rexWindowBound.getOffset()); return SqlWindow.createPreceding(literal, POS); } } if (rexWindowBound.isFollowing()) { if (rexWindowBound.isUnbounded()) { return SqlWindow.createUnboundedFollowing(POS); } else { SqlNode literal = toSql(null, rexWindowBound.getOffset()); return SqlWindow.createFollowing(literal, POS); } } throw new AssertionError("Unsupported Window bound: " + rexWindowBound); }
null); } else { sc = (SqlCall) SqlWindow.createFollowing(amt, pos); rwb = RexWindowBound.create(sc, cluster.getRexBuilder().makeCall(sc.getOperator(), amtLiteral));
} else if (jj_2_180(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_317(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_185(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_192(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_222(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_223(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_180(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing( e, getPos());} } else {
} else if (jj_2_183(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing(e, getPos());} } else { jj_consume_token(-1);
} else if (jj_2_180(2)) { jj_consume_token(FOLLOWING); {if (true) return SqlWindow.createFollowing( e, getPos());} } else {