本文整理汇总了Java中net.sf.jsqlparser.statement.SetStatement类的典型用法代码示例。如果您正苦于以下问题:Java SetStatement类的具体用法?Java SetStatement怎么用?Java SetStatement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SetStatement类属于net.sf.jsqlparser.statement包,在下文中一共展示了SetStatement类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set) {
SelectDeParser selectDeParser = new SelectDeParser();
selectDeParser.setBuffer(buffer);
ExpressionDeParser expressionDeParser = new ExpressionDeParser(selectDeParser, buffer);
SetStatementDeParser setStatementDeparser = new SetStatementDeParser(expressionDeParser, buffer);
selectDeParser.setExpressionVisitor(expressionDeParser);
setStatementDeparser.deParse(set);
}
示例2: Set
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
final public SetStatement Set() throws ParseException {
/* @bgen(jjtree) Set */
SimpleNode jjtn000 = new SimpleNode(JJTSET);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
String name;
Expression value;
try {
jj_consume_token(K_SET);
name = RelObjectNameExt();
jj_consume_token(164);
value = SimpleExpression();
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
{
if (true)
return new SetStatement(name, value);
}
} 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");
}
示例3: deParse
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
public void deParse(SetStatement set) {
buffer.append("SET ").append(set.getName());
buffer.append(" = ");
set.getExpression().accept(expressionVisitor);
}
示例4: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set) {
throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
}
示例5: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set) {
throw new UnsupportedOperationException(NOT_SUPPORTED_YET); //To change body of generated methods, choose Tools | Templates.
}
示例6: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set) {
set.getExpression().accept(this);
}
示例7: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set)
{
throw new UnsupportedOperationException("Not supported yet.");
}
示例8: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement setStatement) throws Exception {
}
示例9: visit
import net.sf.jsqlparser.statement.SetStatement; //导入依赖的package包/类
@Override
public void visit(SetStatement set) {
}