Class CreateMaterializedView


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

    • CreateMaterializedView

      public CreateMaterializedView(SessionLocal session, Schema schema)
  • Method Details

    • setViewName

      public void setViewName(String name)
    • setComment

      public void setComment(String comment)
    • setSelectSQL

      public void setSelectSQL(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