net.sf.letsparty.parser
Class ColumnAliasVisitor

java.lang.Object
  extended bynet.sf.letsparty.parser.ColumnAliasVisitor
All Implemented Interfaces:
net.sf.jsqlparser.statement.select.SelectItemVisitor

public class ColumnAliasVisitor
extends java.lang.Object
implements net.sf.jsqlparser.statement.select.SelectItemVisitor

Looks for alias in the select list.


Field Summary
(package private)  java.util.Map columnsAliasMap
           
 
Constructor Summary
ColumnAliasVisitor()
           
 
Method Summary
 net.sf.jsqlparser.schema.Column getByAlias(java.lang.String alias)
           
 net.sf.jsqlparser.schema.Column getByAliasOrReturnSameColumn(net.sf.jsqlparser.schema.Column tableColumn)
           
 void visit(net.sf.jsqlparser.statement.select.AllColumns allColumns)
           
 void visit(net.sf.jsqlparser.statement.select.AllTableColumns allTableColumns)
           
 void visit(net.sf.jsqlparser.expression.Function function)
           
 void visit(net.sf.jsqlparser.statement.select.SelectExpressionItem selectExpressionItem)
           
 void visit(net.sf.jsqlparser.statement.select.SubSelect subSelect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnsAliasMap

java.util.Map columnsAliasMap
Constructor Detail

ColumnAliasVisitor

public ColumnAliasVisitor()
Method Detail

getByAlias

public net.sf.jsqlparser.schema.Column getByAlias(java.lang.String alias)

getByAliasOrReturnSameColumn

public net.sf.jsqlparser.schema.Column getByAliasOrReturnSameColumn(net.sf.jsqlparser.schema.Column tableColumn)

visit

public void visit(net.sf.jsqlparser.statement.select.AllColumns allColumns)
Specified by:
visit in interface net.sf.jsqlparser.statement.select.SelectItemVisitor

visit

public void visit(net.sf.jsqlparser.statement.select.AllTableColumns allTableColumns)
Specified by:
visit in interface net.sf.jsqlparser.statement.select.SelectItemVisitor

visit

public void visit(net.sf.jsqlparser.expression.Function function)

visit

public void visit(net.sf.jsqlparser.statement.select.SubSelect subSelect)

visit

public void visit(net.sf.jsqlparser.statement.select.SelectExpressionItem selectExpressionItem)
Specified by:
visit in interface net.sf.jsqlparser.statement.select.SelectItemVisitor