Class SelectClause
java.lang.Object
org.hibernate.sql.ast.spi.query.select.SelectClause
- All Implemented Interfaces:
SqlAstNode
The SELECT CLAUSE in the SQL AST. Each selection here is a
DomainResultProducer-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidaddSqlSelection(Expression expression) Adds an expression as a SQL selection with default JDBC and values-array positions.voidaddSqlSelection(SqlSelection sqlSelection) booleanvoidmakeDistinct(boolean distinct)
-
Constructor Details
-
SelectClause
public SelectClause() -
SelectClause
public SelectClause(int estimateSelectionSize)
-
-
Method Details
-
makeDistinct
public void makeDistinct(boolean distinct) -
isDistinct
public boolean isDistinct() -
addSqlSelection
-
addSqlSelection
Adds an expression as a SQL selection with default JDBC and values-array positions.
Use this convenience when constructing a SQL AST selection and no position has yet been assigned. The expression reference is retained.
- Since:
- 8.0
-
getSqlSelections
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-