Class DerivedTableReference

    • Method Detail

      • getTableId

        public String getTableId()
        Description copied from interface: TableReference
        An identifier for the table reference. May be null if this is not a named table reference.
      • getColumnNames

        public List<String> getColumnNames()
      • isLateral

        public boolean isLateral()
      • resolveTableReference

        public TableReference resolveTableReference​(NavigablePath navigablePath,
                                                    String tableExpression,
                                                    boolean allowFkOptimization)
        Description copied from interface: ColumnReferenceQualifier
        Like ColumnReferenceQualifier.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

        public 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.
        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