Interface TableReference

    • Method Detail

      • getIdentificationVariable

        String getIdentificationVariable()
      • getTableId

        String getTableId()
        An identifier for the table reference. May be null if this is not a named table reference.
      • isOptional

        boolean isOptional()
      • applyAffectedTableNames

        default void applyAffectedTableNames​(Consumer<String> nameCollector)
      • getAffectedTableNames

        default List<String> getAffectedTableNames()
      • containsAffectedTableName

        default boolean containsAffectedTableName​(String requestedName)
      • getTableReference

        TableReference getTableReference​(NavigablePath navigablePath,
                                         String tableExpression,
                                         boolean allowFkOptimization,
                                         boolean resolve)
        Description copied from interface: ColumnReferenceQualifier
        Returns the table reference for the table expression, or null if not found.
        Specified by:
        getTableReference in interface ColumnReferenceQualifier
        navigablePath - The path for which to look up the table reference, may be null
        tableExpression - The table expression for which to look up the table reference
        allowFkOptimization - Whether a foreign key optimization is allowed i.e. use the FK column on the key-side
        resolve - Whether to potentially create table reference joins for this table group