Module is.codion.framework.domain
Interface SelectQuery.Builder
- Enclosing interface:
- SelectQuery
public static interface SelectQuery.Builder
Builds a
SelectQuery
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Specifies the columns clause to use, without the SELECT keyword.Specifies the from clause to use.Specifies the group by clause to use, without the GROUP BY keywords.Specifies the having clause to use, without the HAVING keyword.Specifies the order by clause to use, without the ORDER BY keywords.Specifies the where clause to use, without the WHERE keyword.
-
Method Details
-
columns
Specifies the columns clause to use, without the SELECT keyword.- Parameters:
columns
- the columns clause- Returns:
- this Builder instance
-
from
Specifies the from clause to use.- Parameters:
from
- the from clause, without the FROM keyword- Returns:
- this Builder instance
-
where
Specifies the where clause to use, without the WHERE keyword.- Parameters:
where
- the where clause- Returns:
- this Builder instance
-
groupBy
Specifies the group by clause to use, without the GROUP BY keywords.- Parameters:
groupBy
- the group by clause- Returns:
- this Builder instance
-
having
Specifies the having clause to use, without the HAVING keyword.- Parameters:
having
- the having clause- Returns:
- this Builder instance
-
orderBy
Specifies the order by clause to use, without the ORDER BY keywords.- Parameters:
orderBy
- the order by clause- Returns:
- this Builder instance
-
build
SelectQuery build()- Returns:
- a new SelectQuery instance
-