Class SqlStatementSelect


  • public class SqlStatementSelect
    extends SqlStatement
    We could consider to apply builder pattern here (if time)
    • Method Detail

      • hasProjection

        public boolean hasProjection()
        Has projection boolean.
        Returns:
        the boolean
      • hasGroupBy

        public boolean hasGroupBy()
        Has group by boolean.
        Returns:
        the boolean
      • hasHaving

        public boolean hasHaving()
        Has having boolean.
        Returns:
        the boolean
      • hasFilter

        public boolean hasFilter()
        Has filter boolean.
        Returns:
        the boolean
      • hasOrderBy

        public boolean hasOrderBy()
        Has order by boolean.
        Returns:
        the boolean
      • hasLimit

        public boolean hasLimit()
        Has limit boolean.
        Returns:
        the boolean
      • getFromClause

        public SqlNode getFromClause()
        Gets from clause.
        Returns:
        the from clause
      • getSelectList

        public SqlSelectList getSelectList()
        Gets select list.
        Returns:
        the select list
      • getWhereClause

        public SqlNode getWhereClause()
        Gets where clause.
        Returns:
        the where clause
      • getGroupBy

        public SqlExpressionList getGroupBy()
        Gets group by.
        Returns:
        the group by
      • getHaving

        public SqlNode getHaving()
        Gets having.
        Returns:
        the having
      • getOrderBy

        public SqlOrderBy getOrderBy()
        Gets order by.
        Returns:
        the order by
      • getLimit

        public SqlLimit getLimit()
        Gets limit.
        Returns:
        the limit