|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.OrderedColumn
org.apache.derby.impl.sql.compile.GroupByColumn
A GroupByColumn is a column in the GROUP BY clause.
Field Summary | |
private ColumnReference |
colRef
|
Fields inherited from class org.apache.derby.impl.sql.compile.OrderedColumn |
columnPosition, UNMATCHEDPOSITION |
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, beginOffset, endOffset |
Constructor Summary | |
GroupByColumn()
|
Method Summary | |
void |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.Vector aggregateVector)
Bind this grouping column. |
java.lang.String |
getColumnName()
Get the name of this column |
ColumnReference |
getColumnReference()
Get the ColumnReference from this GroupByColumn. |
ResultColumn |
getSource()
Get the source this GroupByColumn |
int |
getTableNumber()
Get the table number for this GroupByColumn. |
void |
init(java.lang.Object colRef)
Initializer. |
void |
printSubNodes(int depth)
Prints the sub-nodes of this object. |
void |
setColumnReference(ColumnReference colRef)
Set the ColumnReference for this GroupByColumn. |
java.lang.String |
toString()
Convert this object to a String. |
Methods inherited from class org.apache.derby.impl.sql.compile.OrderedColumn |
getColumnPosition, isAscending, setColumnPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ColumnReference colRef
Constructor Detail |
public GroupByColumn()
Method Detail |
public void init(java.lang.Object colRef)
init
in class QueryTreeNode
colRef
- The ColumnReference for the grouping columnpublic java.lang.String toString()
toString
in class OrderedColumn
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the tree
public java.lang.String getColumnName()
public ColumnReference getColumnReference()
public void setColumnReference(ColumnReference colRef)
colRef
- The new ColumnReference for this node.
public int getTableNumber()
public ResultColumn getSource()
public void bindExpression(FromList fromList, SubqueryList subqueryList, java.util.Vector aggregateVector) throws StandardException
fromList
- The FROM list to use for bindingsubqueryList
- The SubqueryList we are building as we hit
SubqueryNodes.aggregateVector
- The aggregate vector we build as we hit
AggregateNodes.
StandardException
- Thrown on error
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |