org.apache.ws.jaxme.sqls.impl
public class VirtualColumn extends AbstractColumn implements ColumnReference
A virtual column is a named item that can be added to the result set. For example:
SELECT name, vorname, MAX(a) AS max FROM ...
The example uses a virtual column max. The value of max is calculated from other values.
Constructor Summary | |
---|---|
VirtualColumn(Column.Name pName, Column.Type pType) | |
VirtualColumn(String pName, Column.Type pType) |
Method Summary | |
---|---|
Name | getAlias() |
Column | getColumn() |
String | getQName() |
Table | getTable() |
TableReference | getTableReference() |
Object | getValue() |
boolean | isPrimaryKeyPart() |
boolean | isVirtual() |
void | setAlias(String pName) |
void | setAlias(Name pName) |
void | setValue(String pValue) |
void | setValue(SelectStatement pValue) |
void | setValue(Function pValue) |