Class ViewDefinitionParser.Component

java.lang.Object
org.compiere.process.ViewDefinitionParser.Component
Enclosing class:
ViewDefinitionParser

public static final class ViewDefinitionParser.Component extends Object
One SELECT statement of the view
  • Method Details

    • isDistinct

      public boolean isDistinct()
      Returns:
      true for SELECT DISTINCT
    • isUnionAll

      public boolean isUnionAll()
      Returns:
      true if this select is appended to the previous one with UNION ALL
    • getItems

      Returns:
      columns of the select list
    • getFromClause

      public String getFromClause()
      Returns:
      from clause, including the FROM keyword
    • getWhereClause

      public String getWhereClause()
      Returns:
      where clause, including the WHERE keyword, null if there is none
    • getOtherClause

      public String getOtherClause()
      Returns:
      everything after the where clause (GROUP BY, HAVING, ORDER BY ...), null if there is none