public class SelectDeParser extends Object implements SelectVisitor, OrderByVisitor, SelectItemVisitor, FromItemVisitor, PivotVisitor
Select
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
buffer |
protected ExpressionVisitor |
expressionVisitor |
Constructor and Description |
---|
SelectDeParser() |
SelectDeParser(ExpressionVisitor expressionVisitor,
StringBuilder buffer) |
protected StringBuilder buffer
protected ExpressionVisitor expressionVisitor
public SelectDeParser()
public SelectDeParser(ExpressionVisitor expressionVisitor, StringBuilder buffer)
expressionVisitor
- a ExpressionVisitor
to de-parse
expressions. It has to share the samebuffer
- the buffer that will be filled with the selectpublic void visit(PlainSelect plainSelect)
visit
in interface SelectVisitor
public void visit(OrderByElement orderBy)
visit
in interface OrderByVisitor
public void visit(Column column)
public void visit(AllTableColumns allTableColumns)
visit
in interface SelectItemVisitor
public void visit(SelectExpressionItem selectExpressionItem)
visit
in interface SelectItemVisitor
public void visit(SubSelect subSelect)
visit
in interface FromItemVisitor
public void visit(Table tableName)
visit
in interface FromItemVisitor
public void visit(Pivot pivot)
visit
in interface PivotVisitor
public void visit(PivotXml pivot)
visit
in interface PivotVisitor
public void deparseOrderBy(List<OrderByElement> orderByElements)
public void deparseOrderBy(boolean oracleSiblings, List<OrderByElement> orderByElements)
public void deparseLimit(Limit limit)
public void deparseOffset(Offset offset)
public void deparseFetch(Fetch fetch)
public StringBuilder getBuffer()
public void setBuffer(StringBuilder buffer)
public ExpressionVisitor getExpressionVisitor()
public void setExpressionVisitor(ExpressionVisitor visitor)
public void visit(SubJoin subjoin)
visit
in interface FromItemVisitor
public void deparseJoin(Join join)
public void visit(SetOperationList list)
visit
in interface SelectVisitor
public void visit(WithItem withItem)
visit
in interface SelectVisitor
public void visit(LateralSubSelect lateralSubSelect)
visit
in interface FromItemVisitor
public void visit(ValuesList valuesList)
visit
in interface FromItemVisitor
public void visit(AllColumns allColumns)
visit
in interface SelectItemVisitor
Copyright © 2006–2018 TinyGroup. All rights reserved.