当前位置: 首页>>代码示例>>Java>>正文


Java MultiExpressionList类代码示例

本文整理汇总了Java中net.sf.jsqlparser.expression.operators.relational.MultiExpressionList的典型用法代码示例。如果您正苦于以下问题:Java MultiExpressionList类的具体用法?Java MultiExpressionList怎么用?Java MultiExpressionList使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MultiExpressionList类属于net.sf.jsqlparser.expression.operators.relational包,在下文中一共展示了MultiExpressionList类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    buffer.append(" VALUES ");
    for (Iterator<ExpressionList> it = multiExprList.getExprList().iterator(); it.hasNext();) {
        buffer.append("(");
        for (Iterator<Expression> iter = it.next().getExpressions().iterator(); iter.hasNext();) {
            Expression expression = iter.next();
            expression.accept(expressionVisitor);
            if (iter.hasNext()) {
                buffer.append(", ");
            }
        }
        buffer.append(")");
        if (it.hasNext()) {
            buffer.append(", ");
        }
    }
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:19,代码来源:InsertDeParser.java

示例2: parseConvertedQuery

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
protected Statement parseConvertedQuery(Insert insert) {
    // Get expression list from query
    ItemsList itemsList = insert.getItemsList();

    if (itemsList instanceof MultiExpressionList) {
        ((MultiExpressionList) itemsList).getExprList().stream()
                .map(ExpressionList::getExpressions)
                .forEach(this::convertExpressionList);
    } else {
        List<Expression> expressions = ((ExpressionList) itemsList).getExpressions();
        convertExpressionList(expressions);
    }

    return insert;
}
 
开发者ID:Hyperparticle,项目名称:integrity-coded-database,代码行数:17,代码来源:OCFQuery.java

示例3: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    for (Iterator<ExpressionList> it = multiExprList.getExprList().iterator(); it.hasNext();) {
        it.next().accept(this);
        if (it.hasNext()) {
            buffer.append(", ");
        }
    }
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:10,代码来源:ExpressionDeParser.java

示例4: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList)
{
	invalid = true;
	super.visit(multiExprList);
}
 
开发者ID:olavloite,项目名称:spanner-jdbc,代码行数:7,代码来源:DMLWhereClauseVisitorAdapter.java

示例5: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    for (ExpressionList list : multiExprList.getExprList()) {
        visit(list);
    }
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:7,代码来源:ExpressionVisitorAdapter.java

示例6: ValuesList

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
public ValuesList(MultiExpressionList multiExpressionList) {
	this.multiExpressionList = multiExpressionList;
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:4,代码来源:ValuesList.java

示例7: getMultiExpressionList

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
public MultiExpressionList getMultiExpressionList() {
	return multiExpressionList;
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:4,代码来源:ValuesList.java

示例8: setMultiExpressionList

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
public void setMultiExpressionList(MultiExpressionList multiExpressionList) {
	this.multiExpressionList = multiExpressionList;
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:4,代码来源:ValuesList.java

示例9: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
	throw new UnsupportedOperationException("Not supported yet.");
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:ReplaceDeParser.java

示例10: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    for (ExpressionList exprList : multiExprList.getExprList()) {
        exprList.accept(this);
    }
}
 
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:7,代码来源:TablesNamesFinder.java

示例11: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    // TODO Auto-generated method stub
    
}
 
开发者ID:devpage,项目名称:sharding-quickstart,代码行数:6,代码来源:TablesNamesFinder.java

示例12: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExprList) {
    multiExprList.getExprList().forEach(e -> visit(e));
}
 
开发者ID:diennea,项目名称:herddb,代码行数:5,代码来源:JdbcQueryRewriter.java

示例13: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList mel
) {
    mel.getExprList().forEach(e -> e.accept(this));
}
 
开发者ID:diennea,项目名称:herddb,代码行数:6,代码来源:ColumnReferencesDiscovery.java

示例14: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
public void visit(MultiExpressionList multiExprList) {
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:3,代码来源:TableFinder.java

示例15: visit

import net.sf.jsqlparser.expression.operators.relational.MultiExpressionList; //导入依赖的package包/类
@Override
public void visit(MultiExpressionList multiExpressionList)
{
   throw new UnsupportedSqlExpressionException("MULTI EXPRESSION LIST"); //$NON-NLS-1$
}
 
开发者ID:obidea,项目名称:semantika,代码行数:6,代码来源:SelectStatementHandler.java


注:本文中的net.sf.jsqlparser.expression.operators.relational.MultiExpressionList类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。