public class InsertDeParser extends Object implements ItemsListVisitor
Insert
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
buffer |
protected ExpressionVisitor |
expressionVisitor |
protected SelectVisitor |
selectVisitor |
Constructor and Description |
---|
InsertDeParser() |
InsertDeParser(ExpressionVisitor expressionVisitor,
SelectVisitor selectVisitor,
StringBuilder buffer) |
Modifier and Type | Method and Description |
---|---|
void |
deParse(Insert insert) |
StringBuilder |
getBuffer() |
ExpressionVisitor |
getExpressionVisitor() |
SelectVisitor |
getSelectVisitor() |
void |
setBuffer(StringBuilder buffer) |
void |
setExpressionVisitor(ExpressionVisitor visitor) |
void |
setSelectVisitor(SelectVisitor visitor) |
void |
visit(ExpressionList expressionList) |
void |
visit(MultiExpressionList multiExprList) |
void |
visit(SubSelect subSelect) |
protected StringBuilder buffer
protected ExpressionVisitor expressionVisitor
protected SelectVisitor selectVisitor
public InsertDeParser()
public InsertDeParser(ExpressionVisitor expressionVisitor, SelectVisitor selectVisitor, 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 StringBuilder getBuffer()
public void setBuffer(StringBuilder buffer)
public void deParse(Insert insert)
public void visit(ExpressionList expressionList)
visit
in interface ItemsListVisitor
public void visit(MultiExpressionList multiExprList)
visit
in interface ItemsListVisitor
public void visit(SubSelect subSelect)
visit
in interface ItemsListVisitor
public ExpressionVisitor getExpressionVisitor()
public void setExpressionVisitor(ExpressionVisitor visitor)
public SelectVisitor getSelectVisitor()
public void setSelectVisitor(SelectVisitor visitor)
Copyright © 2006–2018 TinyGroup. All rights reserved.