net.sf.jsqlparser.statement.select
Class ColumnIndex

java.lang.Object
  extended by net.sf.jsqlparser.statement.select.ColumnIndex
All Implemented Interfaces:
ColumnReference

public class ColumnIndex
extends java.lang.Object
implements ColumnReference

An index of a column in expressions as "GROUP BY 1" or as "ORDER BY 1,2"


Field Summary
private  int index
           
 
Constructor Summary
ColumnIndex()
           
 
Method Summary
 void accept(ColumnReferenceVisitor columnReferenceVisitor)
           
 int getIndex()
           
 void setIndex(int i)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

private int index
Constructor Detail

ColumnIndex

public ColumnIndex()
Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int i)

accept

public void accept(ColumnReferenceVisitor columnReferenceVisitor)
Specified by:
accept in interface ColumnReference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object