本文整理了Java中net.sf.jsqlparser.statement.select.Limit.setOffset()
方法的一些代码示例,展示了Limit.setOffset()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Limit.setOffset()
方法的具体详情如下:
包路径:net.sf.jsqlparser.statement.select.Limit
类名称:Limit
方法名:setOffset
暂无
代码示例来源:origin: alibaba/mdrill
case S_INTEGER:
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
case 83:
case S_INTEGER:
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
case 83:
case S_INTEGER:
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
case 83:
代码示例来源:origin: JSQLParser/JSqlParser
case S_LONG:{
token = jj_consume_token(S_LONG);
limit.setOffset(new LongValue(token.image));
break;
limit.setOffset(jdbc);
break;
limit.setOffset(new JdbcNamedParameter());
if (jj_2_45(2)) {
token = jj_consume_token(S_IDENTIFIER);
代码示例来源:origin: org.opencadc/cadc-jsqlparser-compat
case S_INTEGER:{
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
case S_INTEGER:{
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
case S_INTEGER:{
token = jj_consume_token(S_INTEGER);
limit.setOffset(Long.parseLong(token.image));
break;
代码示例来源:origin: io.github.itfinally/mybatis-paging
private MySqlHook( String originSql, long beginRow, long range ) throws JSQLParserException {
final Limit limit = new Limit();
limit.setRowCount( new LongValue( range ) );
limit.setOffset( new LongValue( beginRow ) );
代码示例来源:origin: zhicwu/cassandra-jdbc-driver
limit.setOffset(-1);
代码示例来源:origin: diennea/herddb
private void visitLimit(Limit limit) {
if (limit.getOffset() != null) {
if (limit.getOffset() instanceof JdbcParameter) {
limit.setOffset(ImmutableExpressionsCache.internOrFixJdbcParameterExpression((JdbcParameter) limit.getOffset()));
}
limit.getOffset().accept(this);
}
if (limit.getRowCount() != null) {
if (limit.getRowCount() instanceof JdbcParameter) {
limit.setRowCount(ImmutableExpressionsCache.internOrFixJdbcParameterExpression((JdbcParameter) limit.getRowCount()));
}
limit.getRowCount().accept(this);
}
}
代码示例来源:origin: com.eas.platypus/platypus-js-sql-parser
limit.setCommentLimitValue(token.specialToken.image);
limit.setOffset(Long.parseLong(token.image));
break;
limit.setCommentOffsetValue(token.specialToken.image);
limit.setOffset(Long.parseLong(token.image));
break;
limit.setCommentOffsetValue(token.specialToken.image);
limit.setOffset(Long.parseLong(token.image));
break;
代码示例来源:origin: com.github.jsqlparser/jsqlparser
case S_LONG:{
token = jj_consume_token(S_LONG);
limit.setOffset(new LongValue(token.image));
break;
limit.setOffset(jdbc);
break;
limit.setOffset(new JdbcNamedParameter());
if (jj_2_44(2)) {
token = jj_consume_token(S_IDENTIFIER);
内容来源于网络,如有侵权,请联系作者删除!