net.sf.jsqlparser.expression.operators.relational.Between.getBetweenExpressionStart()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(6.4k)|赞(0)|评价(0)|浏览(153)

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

Between.getBetweenExpressionStart介绍

暂无

代码示例

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

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  if (between.isNot()) {
    buffer.append(" NOT");
  }
  buffer.append(" BETWEEN ");
  between.getBetweenExpressionStart().accept(this);
  buffer.append(" AND ");
  between.getBetweenExpressionEnd().accept(this);
}

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

public void visit(Between between) {
  between.getLeftExpression().accept(this);
  if (between.isNot())
    buffer.append(" NOT");
  buffer.append(" BETWEEN ");
  between.getBetweenExpressionStart().accept(this);
  buffer.append(" AND ");
  between.getBetweenExpressionEnd().accept(this);
}

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

@Override
public void visit(Between expr) {
  expr.getLeftExpression().accept(this);
  expr.getBetweenExpressionStart().accept(this);
  expr.getBetweenExpressionEnd().accept(this);
}

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

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: scouter-project/scouter

public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: geotools/geotools

public void visit(Between between) {
  Between qualified = new Between();
  Expression start = qualify(session, tableAliases, between.getBetweenExpressionStart());
  Expression end = qualify(session, tableAliases, between.getBetweenExpressionEnd());
  Expression left = qualify(session, tableAliases, between.getLeftExpression());
  qualified.setBetweenExpressionStart(start);
  qualified.setBetweenExpressionEnd(end);
  qualified.setLeftExpression(left);
  this._qualifiedExpression = qualified;
}

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

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  if (between.isNot()) {
    buffer.append(" NOT");
  }
  buffer.append(" BETWEEN ");
  between.getBetweenExpressionStart().accept(this);
  buffer.append(" AND ");
  between.getBetweenExpressionEnd().accept(this);
}

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

public void visit(Between between) {
  between.getLeftExpression().accept(this);
  if (between.isNot()) {
    buffer.append(between.getCommentNot() != null ? " " + between.getCommentNot() + ExpressionDeParser.LINE_SEPARATOR : "").append(" not");
  }
  buffer.append(between.getCommentBetween() != null ? " " + between.getCommentBetween() + ExpressionDeParser.LINE_SEPARATOR : "").append(" between ");
  between.getBetweenExpressionStart().accept(this);
  buffer.append(between.getCommentAnd() != null ? " " + between.getCommentAnd() + ExpressionDeParser.LINE_SEPARATOR : "").append(" and ");
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: io.github.scouter-project/scouter-server

public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: it.unibz.inf.ontop/ontop-obdalib-core

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

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

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

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

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: ddf-project/DDF

public void visit(Between between) throws Exception {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

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

@Override
public void visit(Between expr) {
  expr.getLeftExpression().accept(this);
  expr.getBetweenExpressionStart().accept(this);
  expr.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: it.unibz.inf.ontop/ontop-obdalib-core

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: it.unibz.inf.ontop/ontop-obdalib-core

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: it.unibz.inf.ontop/ontop-mapping-sql-core

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: ontop/ontop

@Override
public void visit(Between between) {
  between.getLeftExpression().accept(this);
  between.getBetweenExpressionStart().accept(this);
  between.getBetweenExpressionEnd().accept(this);
}

代码示例来源:origin: org.geotools/gt-arcsde

public void visit(Between between) {
  Between qualified = new Between();
  Expression start = qualify(session, tableAliases, between.getBetweenExpressionStart());
  Expression end = qualify(session, tableAliases, between.getBetweenExpressionEnd());
  Expression left = qualify(session, tableAliases, between.getLeftExpression());
  qualified.setBetweenExpressionStart(start);
  qualified.setBetweenExpressionEnd(end);
  qualified.setLeftExpression(left);
  this._qualifiedExpression = qualified;
}

代码示例来源:origin: it.unibz.inf.ontop/ontop-obdalib-core

@Override
public void visit(Between expression) {
  Expression left = expression.getLeftExpression();
  Expression e1 = expression.getBetweenExpressionStart();
  Expression e2 = expression.getBetweenExpressionEnd();
  GreaterThanEquals gte = new GreaterThanEquals();
  gte.setLeftExpression(left);
  gte.setRightExpression(e1);
  MinorThanEquals mte = new MinorThanEquals();
  mte.setLeftExpression(left);
  mte.setRightExpression(e2);
  AndExpression e = new AndExpression(gte, mte);
  result = visitEx(e);
}

相关文章