|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.interpret.ByColumn
public final class ByColumn
Object used to represent a column in the 'order by' and 'group by' clauses of a select statement.
Field Summary | |
---|---|
boolean |
ascending
If 'order by' then true if sort is ascending (default). |
Expression |
exp
The expression that we are ordering by. |
Variable |
name
The name of the column in the 'by'. |
Constructor Summary | |
---|---|
ByColumn()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Performs a DEEP clone of this object if it is mutable, or a deep clone of its mutable members. |
void |
prepareExpressions(ExpressionPreparer preparer)
Prepares all expressions in this statement tree object by passing the ExpressionPreparer object to the 'prepare' method of the expression. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Variable name
public Expression exp
public boolean ascending
Constructor Detail |
---|
public ByColumn()
Method Detail |
---|
public void prepareExpressions(ExpressionPreparer preparer) throws DatabaseException
StatementTreeObject
prepareExpressions
in interface StatementTreeObject
DatabaseException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
StatementTreeObject
clone
in interface StatementTreeObject
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |