本文整理汇总了Java中net.sf.jsqlparser.expression.AnyComparisonExpression类的典型用法代码示例。如果您正苦于以下问题:Java AnyComparisonExpression类的具体用法?Java AnyComparisonExpression怎么用?Java AnyComparisonExpression使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AnyComparisonExpression类属于net.sf.jsqlparser.expression包,在下文中一共展示了AnyComparisonExpression类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ComparisonItem
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
final public Expression ComparisonItem() throws ParseException {
Expression retval = null;
if (jj_2_23(2)) {
retval = AllComparisonExpression();
} else if (jj_2_24(2)) {
retval = AnyComparisonExpression();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case K_KEY:
case K_END:
case K_NULL:
case K_CASE:
case K_BEGIN:
case K_REPLACE:
case K_CAST:
case S_DOUBLE:
case S_INTEGER:
case S_IDENTIFIER:
case S_CHAR_LITERAL:
case S_QUOTED_IDENTIFIER:
case 80:
case 84:
case 96:
case 97:
case 100:
case 102:
case 103:
case 104:
retval = SimpleExpression();
break;
default:
jj_la1[92] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
{if (true) return retval;}
throw new Error("Missing return statement in function");
}
示例2: ComparisonItem
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
final public Expression ComparisonItem() throws ParseException {Expression retval = null;
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case K_ALL:{
retval = AllComparisonExpression();
break;
}
case K_ANY:
case K_SOME:{
retval = AnyComparisonExpression();
break;
}
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:{
retval = SimpleExpression();
break;
}
default:
jj_la1[109] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
{if ("" != null) return retval;}
throw new Error("Missing return statement in function");
}
示例3: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression expr)
{
invalid = true;
super.visit(expr);
}
示例4: ComparisonItem
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
final public Expression ComparisonItem() throws ParseException {
/* @bgen(jjtree) ComparisonItem */
SimpleNode jjtn000 = new SimpleNode(JJTCOMPARISONITEM);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Expression retval = null;
try {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case K_ALL:
retval = AllComparisonExpression();
break;
default:
jj_la1[188] = jj_gen;
if (jj_2_60(2147483647)) {
retval = AnyComparisonExpression();
} else if (jj_2_61(3)) {
retval = SimpleExpression();
} else {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case K_ROW:
case 166:
retval = RowConstructor();
break;
default:
jj_la1[189] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
{
if (true)
return retval;
}
} 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");
}
示例5: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression anyComparisonExpression) {
buffer.append(anyComparisonExpression.getAnyType().name()).append(" ");
anyComparisonExpression.getSubSelect().accept((ExpressionVisitor) this);
}
示例6: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression anyComparisonExpression) {
anyComparisonExpression.getSubSelect().getSelectBody().accept(this);
}
示例7: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression anyComparisonExpression) {
visit(anyComparisonExpression.getSubSelect());
}
示例8: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression ace
) {
throw new UnsupportedOperationException();
}
示例9: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression arg0) {
log.debug("sql expression = " + arg0.GetSubSelect().toString());
value = arg0.GetSubSelect().toString();
}
示例10: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
public void visit(AnyComparisonExpression anyComparisonExpression) {
anyComparisonExpression.GetSubSelect().getSelectBody().accept(this);
}
示例11: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression arg0) {
isSimple = false;
}
示例12: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression anyComparisonExpression) {
anyComparisonExpression.GetSubSelect().getSelectBody().accept(this);
}
示例13: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
public void visit(AnyComparisonExpression anyComparisonExpression) {
buffer.append(anyComparisonExpression.getComment() != null ? " " + anyComparisonExpression.getComment() + ExpressionDeParser.LINE_SEPARATOR : "").append(" any ");
anyComparisonExpression.GetSubSelect().accept((ExpressionVisitor) this);
}
示例14: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
public void visit(AnyComparisonExpression anyComparisonExpression) {
anyComparisonExpression.GetSubSelect().getSelectBody().accept(this);
}
示例15: visit
import net.sf.jsqlparser.expression.AnyComparisonExpression; //导入依赖的package包/类
@Override
public void visit(AnyComparisonExpression anyComparisonExpression)
{
throw new UnsupportedSqlExpressionException("NESTED SELECT"); //$NON-NLS-1$
}