net.sf.jsqlparser.statement.delete.Delete.setWhere()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(178)

本文整理了Java中net.sf.jsqlparser.statement.delete.Delete.setWhere()方法的一些代码示例,展示了Delete.setWhere()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Delete.setWhere()方法的具体详情如下:
包路径:net.sf.jsqlparser.statement.delete.Delete
类名称:Delete
方法名:setWhere

Delete.setWhere介绍

暂无

代码示例

代码示例来源:origin: baomidou/mybatis-plus

/**
 * delete 语句处理
 */
@Override
public void processDelete(Delete delete) {
  if (tenantHandler.doTableFilter(delete.getTable().getName())) {
    // 过滤退出执行
    return;
  }
  delete.setWhere(this.andExpression(delete.getTable(), delete.getWhere()));
}

代码示例来源:origin: com.eas.platypus/platypus-js-sql-parser

delete.setWhere(where);
   break;

代码示例来源:origin: alibaba/mdrill

final public Delete Delete() throws ParseException {
   Delete delete = new Delete();
   Table table = null;
   Expression where = null;
 jj_consume_token(K_DELETE);
 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
 case K_FROM:
  jj_consume_token(K_FROM);
  break;
 default:
  jj_la1[15] = jj_gen;
  ;
 }
 table = TableWithAlias();
 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
 case K_WHERE:
  where = WhereClause();
             delete.setWhere(where);
  break;
 default:
  jj_la1[16] = jj_gen;
  ;
 }
   delete.setTable(table);
   {if (true) return delete;}
 throw new Error("Missing return statement in function");
}

代码示例来源:origin: JSQLParser/JSqlParser

case K_WHERE:{
   where = WhereClause();
delete.setWhere(where);
   break;

代码示例来源:origin: com.baomidou/mybatis-plus-extension

/**
 * <p>
 * delete 语句处理
 * </p>
 */
@Override
public void processDelete(Delete delete) {
  if (tenantHandler.doTableFilter(delete.getTable().getName())) {
    // 过滤退出执行
    return;
  }
  delete.setWhere(this.andExpression(delete.getTable(), delete.getWhere()));
}

代码示例来源:origin: org.opencadc/cadc-jsqlparser-compat

final public Delete Delete() throws ParseException {Delete delete = new Delete();
    Table table = null;
    Expression where = null;
  jj_consume_token(K_DELETE);
  switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
  case K_FROM:{
   jj_consume_token(K_FROM);
   break;
   }
  default:
   jj_la1[15] = jj_gen;
   ;
  }
  table = TableWithAlias();
  switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
  case K_WHERE:{
   where = WhereClause();
delete.setWhere(where);
   break;
   }
  default:
   jj_la1[16] = jj_gen;
   ;
  }
delete.setTable(table);
    {if ("" != null) return delete;}
  throw new Error("Missing return statement in function");
 }

代码示例来源:origin: com.github.jsqlparser/jsqlparser

case K_WHERE:{
   where = WhereClause();
delete.setWhere(where);
   break;

相关文章