本文整理汇总了Java中net.sf.jsqlparser.expression.RowConstructor类的典型用法代码示例。如果您正苦于以下问题:Java RowConstructor类的具体用法?Java RowConstructor怎么用?Java RowConstructor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RowConstructor类属于net.sf.jsqlparser.expression包,在下文中一共展示了RowConstructor类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rowConstructor) {
if (rowConstructor.getName() != null) {
buffer.append(rowConstructor.getName());
}
buffer.append("(");
boolean first = true;
for (Expression expr : rowConstructor.getExprList().getExpressions()) {
if (first) {
first = false;
} else {
buffer.append(", ");
}
expr.accept(this);
}
buffer.append(")");
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:18,代码来源:ExpressionDeParser.java
示例2: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rowConstructor)
{
invalid = true;
super.visit(rowConstructor);
}
开发者ID:olavloite,项目名称:spanner-jdbc,代码行数:7,代码来源:DMLWhereClauseVisitorAdapter.java
示例3: ComparisonItem
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的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");
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:67,代码来源:CCJSqlParser.java
示例4: RowConstructor
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
final public RowConstructor RowConstructor() throws ParseException {
/* @bgen(jjtree) RowConstructor */
SimpleNode jjtn000 = new SimpleNode(JJTROWCONSTRUCTOR);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
ExpressionList list = null;
RowConstructor rowConstructor = new RowConstructor();
try {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case K_ROW:
jj_consume_token(K_ROW);
rowConstructor.setName("ROW");
break;
default:
jj_la1[251] = jj_gen;
;
}
jj_consume_token(166);
list = SimpleExpressionList();
jj_consume_token(167);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
rowConstructor.setExprList(list);
{
if (true)
return rowConstructor;
}
} 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,代码行数:58,代码来源:CCJSqlParser.java
示例5: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rowConstructor) {
for (Expression expr : rowConstructor.getExprList().getExpressions()) {
expr.accept(this);
}
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:7,代码来源:TablesNamesFinder.java
示例6: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rowConstructor) {
// TODO Auto-generated method stub
}
开发者ID:devpage,项目名称:sharding-quickstart,代码行数:6,代码来源:TablesNamesFinder.java
示例7: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rowConstructor) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
开发者ID:diennea,项目名称:herddb,代码行数:5,代码来源:JdbcQueryRewriter.java
示例8: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rc
) {
}
开发者ID:diennea,项目名称:herddb,代码行数:6,代码来源:ColumnReferencesDiscovery.java
示例9: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor arg0) {
isSimple = false;
}
开发者ID:coastland,项目名称:gsp-dba-maven-plugin,代码行数:6,代码来源:ViewAnalyzer.java
示例10: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
@Override
public void visit(RowConstructor rc) {
rc.getExprList().accept(this);
}
开发者ID:valdasraps,项目名称:resthub,代码行数:5,代码来源:AbstractAllParser.java
示例11: visit
import net.sf.jsqlparser.expression.RowConstructor; //导入依赖的package包/类
public void visit(RowConstructor arg0) {
// TODO Auto-generated method stub
}
开发者ID:scouter-project,项目名称:scouter,代码行数:5,代码来源:TableFinder.java
注:本文中的net.sf.jsqlparser.expression.RowConstructor类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论