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


Java ExistsExpression类代码示例

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


ExistsExpression类属于net.sf.jsqlparser.expression.operators.relational包,在下文中一共展示了ExistsExpression类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SQLCondition

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
final public Expression SQLCondition() throws ParseException {
      Expression result;
  if (jj_2_15(2147483647)) {
    result = InExpression();
  } else if (jj_2_16(2147483647)) {
    result = Between();
  } else if (jj_2_17(2147483647)) {
    result = IsNullExpression();
  } else if (jj_2_18(2147483647)) {
    result = ExistsExpression();
  } else {
    jj_consume_token(-1);
    throw new ParseException();
  }
        {if (true) return result;}
  throw new Error("Missing return statement in function");
}
 
开发者ID:UBOdin,项目名称:jsqlparser,代码行数:18,代码来源:CCJSqlParser.java

示例2: ExistsExpression

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
final public Expression ExistsExpression() throws ParseException {ExistsExpression result = new ExistsExpression();
        Expression rightExpression = null;
        Token tk = null;
    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[106] = jj_gen;
      ;
    }
    tk = jj_consume_token(K_EXISTS);
if (tk.specialToken != null) {
      result.setCommentExists(tk.specialToken.image);
     }
    rightExpression = SimpleExpression();
result.setRightExpression(rightExpression);
        {if ("" != null) return result;}
    throw new Error("Missing return statement in function");
  }
 
开发者ID:marat-gainullin,项目名称:platypus-js,代码行数:26,代码来源:CCJSqlParser.java

示例3: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression existsExpression) {
    if (existsExpression.isNot()) {
        buffer.append("NOT EXISTS ");
    } else {
        buffer.append("EXISTS ");
    }
    existsExpression.getRightExpression().accept(this);
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:10,代码来源:ExpressionDeParser.java

示例4: ExistsExpression

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
final public Expression ExistsExpression() throws ParseException {
      ExistsExpression result = new ExistsExpression();
      Expression rightExpression = null;
  jj_consume_token(K_EXISTS);
  rightExpression = SimpleExpression();
              result.setRightExpression(rightExpression);
              {if (true) return result;}
  throw new Error("Missing return statement in function");
}
 
开发者ID:UBOdin,项目名称:jsqlparser,代码行数:10,代码来源:CCJSqlParser.java

示例5: SQLCondition

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
final public Expression SQLCondition() throws ParseException {Expression result;
    if (jj_2_15(2147483647)) {
      result = InExpression();
    } else if (jj_2_16(2147483647)) {
      result = Between();
    } else if (jj_2_17(2147483647)) {
      result = IsNullExpression();
    } else if (jj_2_18(2147483647)) {
      result = ExistsExpression();
    } else {
      switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
      case K_NULL:
      case K_CASE:
      case K_REPLACE:
      case S_DOUBLE:
      case S_INTEGER:
      case S_IDENTIFIER:
      case S_CHAR_LITERAL:
      case S_QUOTED_IDENTIFIER:
      case LPAREN:
      case HOOK:
      case ADD:
      case MINUS:
      case COLON:
      case DATELITERAL:
      case TIMELITERAL:
      case TIMESTAMPLITERAL:
      case ESCAPEDLITEARL:{
        result = LikeExpression();
        break;
        }
      default:
        jj_la1[99] = jj_gen;
        jj_consume_token(-1);
        throw new ParseException();
      }
    }
{if ("" != null) return result;}
    throw new Error("Missing return statement in function");
  }
 
开发者ID:marat-gainullin,项目名称:platypus-js,代码行数:41,代码来源:CCJSqlParser.java

示例6: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
public void visit(ExistsExpression existsExpression) {
    if (existsExpression.isNot()) {
        buffer.append(existsExpression.getCommentNot() != null ? " " + existsExpression.getCommentNot() + ExpressionDeParser.LINE_SEPARATOR : "").append(" not").append(existsExpression.getCommentExists() != null ? " " + existsExpression.getCommentExists() + ExpressionDeParser.LINE_SEPARATOR : "").append(" exists ");
    } else {
        buffer.append(existsExpression.getCommentExists() != null ? " " + existsExpression.getCommentExists() + ExpressionDeParser.LINE_SEPARATOR : "").append(" exists ");
    }
    existsExpression.getRightExpression().accept(this);
}
 
开发者ID:marat-gainullin,项目名称:platypus-js,代码行数:9,代码来源:ExpressionDeParser.java

示例7: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression expr)
{
	invalid = true;
	super.visit(expr);
}
 
开发者ID:olavloite,项目名称:spanner-jdbc,代码行数:7,代码来源:DMLWhereClauseVisitorAdapter.java

示例8: ExistsExpression

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
final public Expression ExistsExpression() throws ParseException {
/* @bgen(jjtree) ExistsExpression */
      SimpleNode jjtn000 = new SimpleNode(JJTEXISTSEXPRESSION);
      boolean jjtc000 = true;
      jjtree.openNodeScope(jjtn000);
      ExistsExpression result = new ExistsExpression();
      Expression rightExpression = null;
      try {
          switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
              case K_NOT:
                  jj_consume_token(K_NOT);
                  result.setNot(true);
                  break;
              default:
                  jj_la1[184] = jj_gen;
                  ;
          }
          jj_consume_token(K_EXISTS);
          rightExpression = SimpleExpression();
          jjtree.closeNodeScope(jjtn000, true);
          jjtc000 = false;
          result.setRightExpression(rightExpression);
          {
              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,代码行数:57,代码来源:CCJSqlParser.java

示例9: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression expr) {
    expr.getRightExpression().accept(this);
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:ExpressionVisitorAdapter.java

示例10: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression existsExpression) {
    existsExpression.getRightExpression().accept(this);
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:TablesNamesFinder.java

示例11: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression existsExpression) {
    // TODO Auto-generated method stub
    
}
 
开发者ID:devpage,项目名称:sharding-quickstart,代码行数:6,代码来源:TablesNamesFinder.java

示例12: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression ee
) {
    ee.getRightExpression().accept(this);
}
 
开发者ID:diennea,项目名称:herddb,代码行数:6,代码来源:ColumnReferencesDiscovery.java

示例13: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression arg0) {
   log.debug("sql expression = " + arg0.toString());
   value = arg0.toString();
}
 
开发者ID:Wolfgang-Winter,项目名称:cibet,代码行数:6,代码来源:SqlExpressionParser.java

示例14: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
public void visit(ExistsExpression existsExpression) {
	existsExpression.getRightExpression().accept(this);
}
 
开发者ID:UBOdin,项目名称:jsqlparser,代码行数:4,代码来源:TablesNamesFinder.java

示例15: visit

import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; //导入依赖的package包/类
@Override
public void visit(ExistsExpression arg0) {
	isSimple = false;
}
 
开发者ID:coastland,项目名称:gsp-dba-maven-plugin,代码行数:5,代码来源:ViewAnalyzer.java


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