|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.interpret.SelectColumn
public final class SelectColumn
Represents a column selected to be in the output of a select statement. This includes being either an aggregate function, a column or "*" which is the entire set of columns.
| Field Summary | |
|---|---|
java.lang.String |
alias
The alias of this column string. |
Expression |
expression
The expression of this column. |
java.lang.String |
glob_name
If the column represents a glob of columns (eg. |
Variable |
internal_name
The name of this column used internally to reference it. |
Variable |
resolved_name
The fully resolved name that this column is given in the resulting table. |
| Constructor Summary | |
|---|---|
SelectColumn()
|
|
| 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 java.lang.String glob_name
public Variable resolved_name
public java.lang.String alias
public Expression expression
public Variable internal_name
| Constructor Detail |
|---|
public SelectColumn()
| Method Detail |
|---|
public void prepareExpressions(ExpressionPreparer preparer)
throws DatabaseException
StatementTreeObject
prepareExpressions in interface StatementTreeObjectDatabaseException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
StatementTreeObject
clone in interface StatementTreeObjectclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic 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 | ||||||||