|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Select
A selection query element. This is a query element that can appear in
the SELECT
part of a Query
. Typically a selection
consists of the name of a property or column and an alias. For example:
SELECT item.name AS name ...The
Selects
factory class contains some methods for creating
selection elements.
Selects
Method Summary | |
---|---|
String |
getAlias()
Get the alias of the selected expression. |
Expression |
getExpression()
Get the expression object representing the selected expression. |
boolean |
useInDistinctCount()
If this expression should be use in count distinct queries or not. |
Methods inherited from interface net.sf.basedb.core.query.QueryElement |
---|
getChildren, toQl |
Method Detail |
---|
String getAlias()
Expression getExpression()
boolean useInDistinctCount()
SELECT COUNT(DISTINCT expression)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |