接口 KeyCreator<T>

所有已知实现类:
AutoKeyCreator, NoneKeyCreator, SnowflakeKeyCreator, UUIDKeyCreator

public interface KeyCreator<T>
主键生成器
  • 方法概要

    修饰符和类型
    方法
    说明
    获取ID
  • 方法详细资料

    • nextId

      T nextId()
      获取ID
      返回:
      主键值