Interface SelectQuery.Builder

Enclosing interface:
SelectQuery

public static interface SelectQuery.Builder
Builds a SelectQuery.
  • Method Details

    • columns

      SelectQuery.Builder columns(String 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

      SelectQuery.Builder groupBy(String groupBy)
      Specifies the group by clause to use, without the GROUP BY keywords.
      Parameters:
      groupBy - the group by clause
      Returns:
      this Builder instance
    • having

      SelectQuery.Builder having(String having)
      Specifies the having clause to use, without the HAVING keyword.
      Parameters:
      having - the having clause
      Returns:
      this Builder instance
    • orderBy

      SelectQuery.Builder orderBy(String 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