Class CreateViewStatement

    • Constructor Detail

      • CreateViewStatement

        public CreateViewStatement​(String catalogName,
                                   String schemaName,
                                   String viewName,
                                   String selectQuery,
                                   boolean replaceIfExists)
    • Method Detail

      • getCatalogName

        public String getCatalogName()
      • getSchemaName

        public String getSchemaName()
      • getViewName

        public String getViewName()
      • getSelectQuery

        public String getSelectQuery()
      • isReplaceIfExists

        public boolean isReplaceIfExists()
      • isFullDefinition

        public boolean isFullDefinition()
        Returns the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ... AS..." command (true), or just the view definition (SELECT ... FROM data_sources...) (false)?
        Returns:
        true if a complete CREATE ... VIEW statement is included, false if not.
      • setFullDefinition

        public CreateViewStatement setFullDefinition​(boolean fullDefinition)
        Sets the property "Does the statement contain a full CREATE [OR REPLACE] VIEW ... AS..." command (true), or just the view definition (SELECT ... FROM data_sources...) (false)?
        Parameters:
        fullDefinition - true if a CREATE ... VIEW statement is included, false if not.
        Returns:
        the same, altered object