Class CreateTableStatementHandler

    • Constructor Detail

      • CreateTableStatementHandler

        public CreateTableStatementHandler()
    • Method Detail

      • ifNotExists

        public static boolean ifNotExists​(CreateTableStatement createTableStatement)
        Judge whether contains if not exists or not.
        Parameters:
        createTableStatement - create table statement
        Returns:
        whether contains if not exists or not
      • getSelectStatement

        public static Optional<SelectStatement> getSelectStatement​(CreateTableStatement createTableStatement)
        Get select statement.
        Parameters:
        createTableStatement - create table statement
        Returns:
        select statement
      • getColumns

        public static List<ColumnSegment> getColumns​(CreateTableStatement createTableStatement)
        Get list of columns.
        Parameters:
        createTableStatement - create table statement
        Returns:
        list of columns