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