public class InsertDeParser extends java.lang.Object implements ItemsListVisitor
Insert
构造器和说明 |
---|
InsertDeParser() |
InsertDeParser(ExpressionVisitor expressionVisitor,
SelectVisitor selectVisitor,
java.lang.StringBuilder buffer) |
限定符和类型 | 方法和说明 |
---|---|
void |
deParse(Insert insert) |
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 InsertDeParser()
public InsertDeParser(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(Insert insert)
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)