public class UpsertDeParser extends java.lang.Object implements ItemsListVisitor
构造器和说明 |
---|
UpsertDeParser(ExpressionVisitor expressionVisitor,
SelectVisitor selectVisitor,
java.lang.StringBuilder buffer)
Constructor: this constructor is used to assign the values coming from the
arguments to their global values.
|
限定符和类型 | 方法和说明 |
---|---|
void |
deParse(Upsert upsert) |
java.lang.StringBuilder |
getBuffer() |
ExpressionVisitor |
getExpressionVisitor() |
SelectVisitor |
getSelectVisitor() |
void |
setBuffer(java.lang.StringBuilder buffer) |
void |
setExpressionVisitor(ExpressionVisitor visitor) |
void |
setSelectVisitor(SelectVisitor visitor) |
void |
visit(ExpressionList expressionList) |
void |
visit(MultiExpressionList multiExprList) |
void |
visit(SubSelect subSelect) |
public UpsertDeParser(ExpressionVisitor expressionVisitor, SelectVisitor selectVisitor, java.lang.StringBuilder buffer)
expressionVisitor
- a ExpressionVisitor
to de-parse
Expression
s. It has to share the sameselectVisitor
- a SelectVisitor
to de-parse
Select
s. It has to share the samebuffer
- the buffer that will be filled with the insertpublic java.lang.StringBuilder getBuffer()
public void setBuffer(java.lang.StringBuilder buffer)
public void deParse(Upsert upsert)
public void visit(ExpressionList expressionList)
visit
在接口中 ItemsListVisitor
public void visit(MultiExpressionList multiExprList)
visit
在接口中 ItemsListVisitor
public void visit(SubSelect subSelect)
visit
在接口中 ItemsListVisitor
public ExpressionVisitor getExpressionVisitor()
public SelectVisitor getSelectVisitor()
public void setExpressionVisitor(ExpressionVisitor visitor)
public void setSelectVisitor(SelectVisitor visitor)