Interface ColumnValueGenerator

All Known Implementing Classes:
DefaultSequenceColumnValueGenerator, SequenceColumnValueGenerator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ColumnValueGenerator
A functional interface for generating values for a specific database column.

Implementations of this interface should provide a mechanism to compute or fetch the value to be assigned to the column.

The ColumnValueGenerator interface is typically used in scenarios where custom or dynamic values need to be generated for database expressions during operations like data insertion or updates.

  • Method Summary

    Modifier and Type
    Method
    Description
    Generates a value for a database column.
  • Method Details

    • generate

      String generate()
      Generates a value for a database column.
      Returns:
      the generated value for the column.