Class CreateMaterializedView


  • public class CreateMaterializedView
    extends SchemaCommand
    This class represents the statement CREATE MATERIALIZED VIEW
    • Constructor Detail

      • CreateMaterializedView

        public CreateMaterializedView​(SessionLocal session,
                                      Schema schema)
    • Method Detail

      • setViewName

        public void setViewName​(java.lang.String name)
      • setComment

        public void setComment​(java.lang.String comment)
      • setSelectSQL

        public void setSelectSQL​(java.lang.String selectSQL)
      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • setSelect

        public void setSelect​(Query query)
      • setOrReplace

        public void setOrReplace​(boolean orReplace)
      • getType

        public int getType()
        Description copied from class: Prepared
        Get the command type as defined in CommandInterface
        Specified by:
        getType in class Prepared
        Returns:
        the statement type
      • update

        public final long update()
        Description copied from class: Prepared
        Execute the statement.
        Overrides:
        update in class Prepared
        Returns:
        the update count