Interface RowLevelSecurityDdlRequest


@SPI(USE) public interface RowLevelSecurityDdlRequest

Provides the rendered table and tenant-column facts needed to produce row-level-security schema DDL.

Names returned by this request are already quoted for the active rendering context and must be used verbatim. The request is read-only and call-scoped; implementations must not retain it.

Since:
8.0
  • Method Details

    • tenantIdentifierSource

      TenantIdentifierSource tenantIdentifierSource()
      Return the selected database-side tenant identifier source.
    • qualifiedTableName

      String qualifiedTableName()
      Return the qualified tenant-table name using mapped and configured namespace defaults.
    • qualifiedTableName

      String qualifiedTableName(String defaultSchema)
      Return the qualified tenant-table name, applying defaultSchema only when neither a mapped nor configured schema is present.
    • qualifySiblingObject

      String qualifySiblingObject(String objectName, String defaultSchema)
      Qualify a sibling object in the tenant table's schema, applying defaultSchema only when neither a mapped nor configured schema is present.
    • tableExportIdentifier

      String tableExportIdentifier()
      Return the stable boot-model export identifier of the tenant table.
    • tenantColumnName

      String tenantColumnName()
      Return the rendered tenant-column name.
    • tenantColumnSqlType

      String tenantColumnSqlType()
      Return the complete tenant-column SQL type declaration.
    • tenantColumnSqlTypeCode

      int tenantColumnSqlTypeCode()
      Return the SqlTypes code of the tenant column.