Package org.hibernate.sql.ast.tree.from
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.
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.ast.tree.from.AbstractTableReference
identificationVariable, isOptional
-
-
Constructor Summary
Constructors Constructor Description EmbeddableFunctionTableReference(NavigablePath navigablePath, EmbeddableMappingType embeddableMappingType, Expression expression)
-
Method Summary
-
Methods inherited from class org.hibernate.sql.ast.tree.from.AbstractTableReference
equals, getIdentificationVariable, hashCode, isOptional
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.from.ColumnReferenceQualifier
getTableReference, getTableReference, getTableReference, resolveTableReference, resolveTableReference
-
-
-
-
Constructor Detail
-
EmbeddableFunctionTableReference
public EmbeddableFunctionTableReference(NavigablePath navigablePath, EmbeddableMappingType embeddableMappingType, Expression expression)
-
-
Method Detail
-
getExpression
public Expression getExpression()
-
isEmbeddableFunctionTableReference
public boolean isEmbeddableFunctionTableReference()
-
asEmbeddableFunctionTableReference
public EmbeddableFunctionTableReference asEmbeddableFunctionTableReference()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
-
containsAffectedTableName
public boolean containsAffectedTableName(String requestedName)
-
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
LikeColumnReferenceQualifier.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 nulltableExpression
- 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 nulltableExpression
- The table expression for which to look up the table referenceresolve
- Whether to potentially create table reference joins for this table group
-
-