Interface TableIdGenerator

All Superinterfaces:
IdGenerator
All Known Implementing Classes:
BuiltinTableIdGenerator

public interface TableIdGenerator extends IdGenerator
A generator that uses a database TABLE.
  • Method Details

    • setQualifiedTableName

      void setQualifiedTableName(String qualifiedTableName)
      Sets the qualified name of the table.
      Parameters:
      qualifiedTableName - the qualified name of the table
    • setInitialValue

      void setInitialValue(long initialValue)
      Sets the initial value.
      Parameters:
      initialValue - the initial value
    • setAllocationSize

      void setAllocationSize(long allocationSize)
      Sets the allocation size.
      Parameters:
      allocationSize - the allocation size
    • setPkColumnName

      void setPkColumnName(String pkColumnName)
      Sets the column name of the primary key.
      Parameters:
      pkColumnName - the column name of the primary key
    • setPkColumnValue

      void setPkColumnValue(String pkColumnValue)
      Sets the column value of the primary key.
      Parameters:
      pkColumnValue - the column value of the primary key
    • setValueColumnName

      void setValueColumnName(String valueColumnName)
      Sets the column name of the identity value.
      Parameters:
      valueColumnName - the column name of the identity value
    • initialize

      void initialize()
      Initializes this generator.
      Throws:
      JdbcException - if the initialization is failed