net.sf.letsparty.parser
Class PartTableVisitor
java.lang.Object
net.sf.letsparty.parser.PartTableVisitor
- All Implemented Interfaces:
- net.sf.jsqlparser.statement.select.FromItemVisitor, net.sf.jsqlparser.statement.select.SelectVisitor
- public class PartTableVisitor
- extends java.lang.Object
- implements net.sf.jsqlparser.statement.select.SelectVisitor, net.sf.jsqlparser.statement.select.FromItemVisitor
Finds partitioned tables (and aliases) in select statements.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
private Configuration configuration
isOuter
private boolean isOuter
partitionedTablesInStatement
private java.util.List partitionedTablesInStatement
aliases
private java.util.List aliases
PartTableVisitor
public PartTableVisitor(Configuration configuration)
addPartitionedTableInStatement
private void addPartitionedTableInStatement(java.lang.String alias,
PartitionedTableInStatement partitionedTableInStatement)
getPartitionedTable
public PartitionedTable getPartitionedTable(java.lang.String alias)
getPartitionedTable
public PartitionedTable getPartitionedTable(int index)
getPartitionedTableIndex
public int getPartitionedTableIndex(java.lang.String alias)
getPartitionedTableIndex
public int getPartitionedTableIndex(PartitionedTable partitionedTable)
getPartitionedTablesInStatement
public java.util.List getPartitionedTablesInStatement()
getPartitionedColumn
public PartitionedColumn getPartitionedColumn(net.sf.jsqlparser.schema.Column tableColumn)
getPartitionedColumn
public PartitionedColumn getPartitionedColumn(java.lang.String tableAlias,
net.sf.jsqlparser.schema.Column tableColumn)
visit
public void visit(net.sf.jsqlparser.statement.select.PlainSelect plainSelect)
- Specified by:
visit
in interface net.sf.jsqlparser.statement.select.SelectVisitor
visit
public void visit(net.sf.jsqlparser.statement.select.Union union)
- Specified by:
visit
in interface net.sf.jsqlparser.statement.select.SelectVisitor
visit
public void visit(net.sf.jsqlparser.schema.Table tableName)
- Specified by:
visit
in interface net.sf.jsqlparser.statement.select.FromItemVisitor
visit
public void visit(net.sf.jsqlparser.statement.select.SubSelect subSelect)
- Specified by:
visit
in interface net.sf.jsqlparser.statement.select.FromItemVisitor