本文整理汇总了Java中net.sf.jsqlparser.statement.execute.Execute类的典型用法代码示例。如果您正苦于以下问题:Java Execute类的具体用法?Java Execute怎么用?Java Execute使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Execute类属于net.sf.jsqlparser.statement.execute包,在下文中一共展示了Execute类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
SelectDeParser selectDeParser = new SelectDeParser();
selectDeParser.setBuffer(buffer);
ExpressionDeParser expressionDeParser = new ExpressionDeParser(selectDeParser, buffer);
ExecuteDeParser executeDeParser = new ExecuteDeParser(expressionDeParser, buffer);
selectDeParser.setExpressionVisitor(expressionDeParser);
executeDeParser.deParse(execute);
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:10,代码来源:StatementDeParser.java
示例2: plan
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public ExecutionPlan plan(String defaultTableSpace, net.sf.jsqlparser.statement.Statement stmt,
boolean scan, boolean returnValues, int maxRows) {
verifyJdbcParametersIndexes(stmt);
ExecutionPlan result;
if (stmt instanceof CreateTable) {
result = ExecutionPlan.simple(buildCreateTableStatement(defaultTableSpace, (CreateTable) stmt));
} else if (stmt instanceof CreateIndex) {
result = ExecutionPlan.simple(buildCreateIndexStatement(defaultTableSpace, (CreateIndex) stmt));
} else if (stmt instanceof Insert) {
result = buildInsertStatement(defaultTableSpace, (Insert) stmt, returnValues);
} else if (stmt instanceof Delete) {
result = buildDeleteStatement(defaultTableSpace, (Delete) stmt, returnValues);
} else if (stmt instanceof Update) {
result = buildUpdateStatement(defaultTableSpace, (Update) stmt, returnValues);
} else if (stmt instanceof Select) {
result = buildSelectStatement(defaultTableSpace, (Select) stmt, scan, maxRows);
} else if (stmt instanceof Execute) {
result = ExecutionPlan.simple(buildExecuteStatement(defaultTableSpace, (Execute) stmt));
} else if (stmt instanceof Alter) {
result = ExecutionPlan.simple(buildAlterStatement(defaultTableSpace, (Alter) stmt));
} else if (stmt instanceof Drop) {
result = ExecutionPlan.simple(buildDropStatement(defaultTableSpace, (Drop) stmt));
} else if (stmt instanceof Truncate) {
result = ExecutionPlan.simple(buildTruncateStatement(defaultTableSpace, (Truncate) stmt));
} else {
return null;
}
return result;
}
开发者ID:diennea,项目名称:herddb,代码行数:31,代码来源:SQLPlanner.java
示例3: isCachable
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
private static boolean isCachable(net.sf.jsqlparser.statement.Statement stmt) {
if (stmt instanceof Execute) {
return false;
} else if (stmt instanceof Alter) {
return false;
} else if (stmt instanceof Drop) {
return false;
} else if (stmt instanceof Truncate) {
return false;
}
return true;
}
开发者ID:diennea,项目名称:herddb,代码行数:13,代码来源:SQLPlanner.java
示例4: deParse
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
public void deParse(Execute execute) {
buffer.append("EXECUTE ").append(execute.getName());
buffer.append(" ").append(PlainSelect.getStringList(execute.getExprList().getExpressions(), true, false));
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:ExecuteDeParser.java
示例5: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:TablesNamesFinder.java
示例6: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
public void visit(Execute execute) {
throw new UnsupportedSQLFeatureException("Feature Execute not supported");
}
开发者ID:adamkewley,项目名称:jobson,代码行数:4,代码来源:AllColumnRefsFinder.java
示例7: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
throw new UnsupportedOperationException(NOT_SUPPORTED_YET); //To change body of generated methods, choose Tools | Templates.
}
开发者ID:justice-code,项目名称:QiuQiu,代码行数:5,代码来源:ReplaceTablesNamesFinder.java
示例8: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
if (execute.getExprList() != null) {
execute.getExprList().accept(this);
}
}
开发者ID:diennea,项目名称:herddb,代码行数:7,代码来源:JdbcQueryRewriter.java
示例9: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute)
{
throw new UnsupportedOperationException("Not supported yet.");
}
开发者ID:sogou-biztech,项目名称:compass,代码行数:6,代码来源:TableRenameVisitor.java
示例10: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
}
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:5,代码来源:StatementVisitorAdapter.java
示例11: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) throws Exception {
}
开发者ID:ddf-project,项目名称:DDF,代码行数:5,代码来源:TableVisitor.java
示例12: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
@Override
public void visit(Execute execute) {
}
开发者ID:ormanli,项目名称:SQL2NoSQL,代码行数:5,代码来源:SQLVisitor.java
示例13: visit
import net.sf.jsqlparser.statement.execute.Execute; //导入依赖的package包/类
void visit(Execute execute);
开发者ID:WeiMei-Tian,项目名称:editor-sql,代码行数:2,代码来源:StatementVisitor.java
注:本文中的net.sf.jsqlparser.statement.execute.Execute类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论