Class AlterColumnType

java.lang.Object
org.huiche.core.ast.Segment.Default
org.huiche.ddl.statement.AlterColumnType
All Implemented Interfaces:
Serializable, Segment, Statement, DDLStatement

public class AlterColumnType extends Segment.Default implements DDLStatement
修改列类型语句
Author:
Maning
See Also:
  • Constructor Details

    • AlterColumnType

      public AlterColumnType(String table, String column, String type, boolean nullable)
      默认构造
      Parameters:
      table - 表
      column - 列
      type - 类型
      nullable - 是否允许空
  • Method Details

    • column

      public String column()
      Returns:
    • nullable

      public boolean nullable()
      是否允许空
      Returns:
      是否允许空
    • pseudoSql

      public String pseudoSql()
      Description copied from interface: Segment
      伪SQL,用于直接toString时显示
      Specified by:
      pseudoSql in interface Segment
      Returns:
      伪SQL
    • table

      public String table()
      Returns:
    • type

      public String type()
      类型
      Returns:
      类型