Interface UpsertAssembler

All Known Implementing Classes:
H2UpsertAssembler, MssqlUpsertAssembler, MysqlUpsertAssembler, OracleUpsertAssembler, PostgreSqlUpsertAssembler, SqliteUpsertAssembler

public interface UpsertAssembler
An interface for assembling upsert queries.

Upsert is a database operation that inserts a row if it doesn't exist, or updates it if it does. This interface is implemented for each database dialect to handle dialect-specific upsert syntax.

Implementations of this interface are responsible for generating the SQL for upsert operations, including handling the specific syntax required by different database systems.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Assembles the upsert query.
  • Method Details

    • assemble

      void assemble()
      Assembles the upsert query.

      This method generates the SQL for the upsert operation according to the specific database dialect's syntax requirements.