Class EmbeddableFunctionTableReference

java.lang.Object
org.hibernate.sql.ast.tree.from.AbstractTableReference
org.hibernate.sql.ast.tree.from.EmbeddableFunctionTableReference
All Implemented Interfaces:
ColumnReferenceQualifier, TableReference, SqlAstNode

public class EmbeddableFunctionTableReference extends AbstractTableReference
A table reference for functions that produce embeddable typed results.
  • Constructor Details

  • Method Details

    • getExpression

      public Expression getExpression()
    • isEmbeddableFunctionTableReference

      public boolean isEmbeddableFunctionTableReference()
    • asEmbeddableFunctionTableReference

      public EmbeddableFunctionTableReference asEmbeddableFunctionTableReference()
    • accept

      public void accept(SqlAstWalker sqlTreeWalker)
    • getAffectedTableNames

      public List<String> getAffectedTableNames()
    • containsAffectedTableName

      public boolean containsAffectedTableName(String requestedName)
    • applyAffectedTableNames

      public void applyAffectedTableNames(Consumer<String> nameCollector)
    • 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.
    • visitAffectedTableNames

      public Boolean visitAffectedTableNames(Function<String,Boolean> nameCollector)
    • resolveTableReference

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

      public TableReference getTableReference(NavigablePath navigablePath, String tableExpression, 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
      resolve - Whether to potentially create table reference joins for this table group
    • toString

      public String toString()
      Overrides:
      toString in class Object