接口 DataFieldMaxValueIncrementerFactory

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementergetIncrementer​(java.lang.String databaseType, java.lang.String incrementerName)
      Return the DataFieldMaxValueIncrementer for the provided database type.
      java.lang.String[]getSupportedIncrementerTypes()
      Returns the list of supported database incrementer types
      booleanisSupportedIncrementerType​(java.lang.String databaseType)
      Returns boolean indicated whether or not the provided string is supported by this factory.
    • 方法详细资料

      • getIncrementer

        org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getIncrementer​(java.lang.String databaseType,
                                                                                                 java.lang.String incrementerName)
        Return the DataFieldMaxValueIncrementer for the provided database type.
        参数:
        databaseType - string represented database type
        incrementerName - incrementer name to create. In many cases this may be the sequence name
        返回:
        incrementer
        抛出:
        java.lang.IllegalArgumentException - if databaseType is invalid type, or incrementerName is null.
      • isSupportedIncrementerType

        boolean isSupportedIncrementerType​(java.lang.String databaseType)
        Returns boolean indicated whether or not the provided string is supported by this factory.
        参数:
        databaseType - String containing the database type.
        返回:
        true if the incrementerType is supported by this database type. Else false is returned.
      • getSupportedIncrementerTypes

        java.lang.String[] getSupportedIncrementerTypes()
        Returns the list of supported database incrementer types
        返回:
        an array of Strings containing the supported incrementer types.