Interface AliasGenerator

All Known Implementing Classes:
DefaultAliasGenerator, NoOpAliasGenerator

public sealed interface AliasGenerator permits DefaultAliasGenerator, NoOpAliasGenerator
Interface for generating aliases for tables and columns.
  • Method Summary

    Modifier and Type
    Method
    Description
    aliasColumn(Table table, ColumnMetaData columnMetaData)
    Generates an aliased column for the specified table and column metadata.
    aliasTable(OrmTable ormTable)
    Generates an aliased table for the specified ORM table.
  • Method Details

    • aliasTable

      Table aliasTable(OrmTable ormTable)
      Generates an aliased table for the specified ORM table.
      Parameters:
      ormTable - The ORM table.
      Returns:
      The aliased table.
    • aliasColumn

      Column aliasColumn(Table table, ColumnMetaData columnMetaData)
      Generates an aliased column for the specified table and column metadata.
      Parameters:
      table - The table.
      columnMetaData - The column metadata.
      Returns:
      The aliased column.