Interface ColumnReferenceQualifier

    • Method Detail

      • resolveTableReference

        TableReference resolveTableReference​(NavigablePath navigablePath,
                                             String tableExpression,
                                             boolean allowFkOptimization)
        Like getTableReference(NavigablePath, String, boolean, boolean), but will throw an exception if no table reference can be found, even after resolving possible table reference joins.
        Parameters:
        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
      • getTableReference

        TableReference getTableReference​(NavigablePath navigablePath,
                                         String tableExpression,
                                         boolean allowFkOptimization,
                                         boolean resolve)
        Returns the table reference for the table expression, or null if not found.
        Parameters:
        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