当前位置: 首页>>代码示例>>Java>>正文


Java Between.setNot方法代码示例

本文整理汇总了Java中net.sf.jsqlparser.expression.operators.relational.Between.setNot方法的典型用法代码示例。如果您正苦于以下问题:Java Between.setNot方法的具体用法?Java Between.setNot怎么用?Java Between.setNot使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在net.sf.jsqlparser.expression.operators.relational.Between的用法示例。


在下文中一共展示了Between.setNot方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: Between

import net.sf.jsqlparser.expression.operators.relational.Between; //导入方法依赖的package包/类
final public Expression Between() throws ParseException {
      Between result = new Between();
      Expression leftExpression = null;
      Expression betweenExpressionStart = null;
      Expression betweenExpressionEnd = null;
  leftExpression = SimpleExpression();
  switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
  case K_NOT:
    jj_consume_token(K_NOT);
                     result.setNot(true);
    break;
  default:
    jj_la1[88] = jj_gen;
    ;
  }
  jj_consume_token(K_BETWEEN);
  betweenExpressionStart = SimpleExpression();
  jj_consume_token(K_AND);
  betweenExpressionEnd = SimpleExpression();
              result.setLeftExpression(leftExpression);
              result.setBetweenExpressionStart(betweenExpressionStart);
              result.setBetweenExpressionEnd(betweenExpressionEnd);
              {if (true) return result;}
  throw new Error("Missing return statement in function");
}
 
开发者ID:UBOdin,项目名称:jsqlparser,代码行数:26,代码来源:CCJSqlParser.java

示例2: Between

import net.sf.jsqlparser.expression.operators.relational.Between; //导入方法依赖的package包/类
final public Expression Between() throws ParseException {Between result = new Between();
        Expression leftExpression = null;
        Expression betweenExpressionStart = null;
        Expression betweenExpressionEnd = null;
        Token tk = null;
    leftExpression = SimpleExpression();
    switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
    case K_NOT:{
      tk = jj_consume_token(K_NOT);
if (tk.specialToken != null) {
          result.setCommentNot(tk.specialToken.image);
         }
                 result.setNot(true);
      break;
      }
    default:
      jj_la1[102] = jj_gen;
      ;
    }
    tk = jj_consume_token(K_BETWEEN);
if (tk.specialToken != null) {
          result.setCommentBetween(tk.specialToken.image);
         }
    betweenExpressionStart = SimpleExpression();
    tk = jj_consume_token(K_AND);
if (tk.specialToken != null) {
          result.setCommentAnd(tk.specialToken.image);
         }
    betweenExpressionEnd = SimpleExpression();
result.setLeftExpression(leftExpression);
                result.setBetweenExpressionStart(betweenExpressionStart);
                result.setBetweenExpressionEnd(betweenExpressionEnd);
                {if ("" != null) return result;}
    throw new Error("Missing return statement in function");
  }
 
开发者ID:marat-gainullin,项目名称:platypus-js,代码行数:36,代码来源:CCJSqlParser.java

示例3: Between

import net.sf.jsqlparser.expression.operators.relational.Between; //导入方法依赖的package包/类
final public Expression Between() throws ParseException {
/* @bgen(jjtree) Between */
      SimpleNode jjtn000 = new SimpleNode(JJTBETWEEN);
      boolean jjtc000 = true;
      jjtree.openNodeScope(jjtn000);
      Between result = new Between();
      Expression leftExpression = null;
      Expression betweenExpressionStart = null;
      Expression betweenExpressionEnd = null;
      try {
          leftExpression = SimpleExpression();
          switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
              case K_NOT:
                  jj_consume_token(K_NOT);
                  result.setNot(true);
                  break;
              default:
                  jj_la1[178] = jj_gen;
                  ;
          }
          jj_consume_token(K_BETWEEN);
          betweenExpressionStart = SimpleExpression();
          jj_consume_token(K_AND);
          betweenExpressionEnd = SimpleExpression();
          jjtree.closeNodeScope(jjtn000, true);
          jjtc000 = false;
          result.setLeftExpression(leftExpression);
          result.setBetweenExpressionStart(betweenExpressionStart);
          result.setBetweenExpressionEnd(betweenExpressionEnd);
          {
              if (true)
                  return result;
          }
      } catch (Throwable jjte000) {
          if (jjtc000) {
              jjtree.clearNodeScope(jjtn000);
              jjtc000 = false;
          } else {
              jjtree.popNode();
          }
          if (jjte000 instanceof RuntimeException) {
              {
                  if (true)
                      throw (RuntimeException) jjte000;
              }
          }
          if (jjte000 instanceof ParseException) {
              {
                  if (true)
                      throw (ParseException) jjte000;
              }
          }
          {
              if (true)
                  throw (Error) jjte000;
          }
      } finally {
          if (jjtc000) {
              jjtree.closeNodeScope(jjtn000, true);
          }
      }
      throw new Error("Missing return statement in function");
  }
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:64,代码来源:CCJSqlParser.java


注:本文中的net.sf.jsqlparser.expression.operators.relational.Between.setNot方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。