Class SqlCreateViewCommand

  • All Implemented Interfaces:
    SqlCommand

    public class SqlCreateViewCommand
    extends Object
    implements SqlCommand
    CREATE VIEW command.
    • Constructor Detail

      • SqlCreateViewCommand

        public SqlCreateViewCommand()
        Default constructor.
      • SqlCreateViewCommand

        public SqlCreateViewCommand​(String schemaName,
                                    String viewName,
                                    String viewSql,
                                    boolean replace)
        Parameters:
        schemaName - Schema name.
        viewName - View name.
        viewSql - View SQL.
        replace - Replace flag.
    • Method Detail

      • viewName

        public String viewName()
        Returns:
        View name.
      • viewSql

        public String viewSql()
        Returns:
        View SQL.
      • replace

        public boolean replace()
        Returns:
        REPLACE flag.
      • schemaName

        public void schemaName​(String schemaName)
        Specified by:
        schemaName in interface SqlCommand
        Parameters:
        schemaName - Schema name.