Class View.Builder

    • Method Detail

      • setSelectClause

        public View.Builder setSelectClause​(java.lang.String selectClause)
        Setter for the fromClause used to build the view
        Parameters:
        fromClause -
      • setVersion

        public View.Builder setVersion​(int v)
        Set the version
        Parameters:
        v -
        Returns:
      • setCreate

        public View.Builder setCreate​(boolean create)
        Setter for the create flag
        Parameters:
        flag - true is the default for new tables; set to false to avoid creating this table
      • addTag

        public View.Builder addTag​(java.lang.String tagName,
                                   java.lang.String tagValue)
        Parameters:
        tagName -
        tagValue -
        Returns:
      • addPrivileges

        public View.Builder addPrivileges​(java.util.Collection<GroupPrivilege> gps)
        Add the collection of group privileges to this view
        Parameters:
        gps -
        Returns:
      • build

        public View build()
        Construct an immutable instance of a View from the current state of this builder
        Returns: