public interface Select extends QueryElement
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
Modifier and Type | Method and Description |
---|---|
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.
|
getChildren, toQl
String getAlias()
Expression getExpression()
boolean useInDistinctCount()
SELECT COUNT(DISTINCT expression)