类 InformationSchemaStatistics

java.lang.Object
org.dromara.autotable.core.strategy.mysql.data.dbdata.InformationSchemaStatistics

public class InformationSchemaStatistics extends Object
数据库表主键以及索引的信息
作者:
don
  • 字段详细资料

    • cardinality

      private Long cardinality
      估计索引中唯一值的数量,该值不一定精确
    • collation

      private String collation
      列在索引中排序方式:A(升序),D(降序),NULL(未排序)
    • columnName

      private String columnName
      列名称
    • comment

      private String comment
      有关未在其自己的列中描述的索引的信息,例如在禁用索引时禁用
    • expression

      private String expression
    • indexComment

      private String indexComment
      索引注释
    • indexName

      private String indexName
      索引的名称。 如果是主键,则始终为PRIMARY
    • indexSchema

      private String indexSchema
      索引所属的结构(数据库)的名称
    • indexType

      private String indexType
      索引类型(BTREE,FULLTEXT,HASH,RTREE)
    • isVisible

      private String isVisible
    • nonUnique

      private Integer nonUnique
      如果索引不能重复,则为0;如果可以,则为1
    • nullable

      private String nullable
      如果列可能包含NULL值,则包含YES,否则包含’’
    • packed

      private String packed
      指示密钥的打包方式。 如果不是,则为NULL
    • seqInIndex

      private Integer seqInIndex
      索引中的列序列号,以1开头
    • subPart

      private Long subPart
      索引前缀。 如果列仅被部分索引,则索引字符的数量,如果整列被索引,则为NULL
    • tableCatalog

      private String tableCatalog
      包含索引的表所属的目录的名称。 该值始终为def
    • tableName

      private String tableName
      包含索引的表的名称
    • tableSchema

      private String tableSchema
      包含索引的表所属的结构(数据库)的名称
  • 构造器详细资料

    • InformationSchemaStatistics

      public InformationSchemaStatistics()