Class DropPrimaryKey

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

public class DropPrimaryKey extends Segment.Default implements DDLStatement
删除主键语句
Author:
Maning
See Also:
  • Constructor Details

    • DropPrimaryKey

      public DropPrimaryKey(String table, String indexName)
      默认构造
      Parameters:
      table - 表名
      indexName - 索引名
  • Method Details

    • indexName

      public String indexName()
      索引名
      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: