Package org.hibernate.sql.ast.tree.from
Class NamedTableReference
java.lang.Object
org.hibernate.sql.ast.tree.from.AbstractTableReference
org.hibernate.sql.ast.tree.from.NamedTableReference
- All Implemented Interfaces:
ColumnReferenceQualifier
,TableReference
,SqlAstNode
- Direct Known Subclasses:
UnionTableReference
Represents a reference to a "named" table in a query's from clause.
-
Field Summary
Fields inherited from class org.hibernate.sql.ast.tree.from.AbstractTableReference
identificationVariable, isOptional
-
Constructor Summary
ConstructorsConstructorDescriptionNamedTableReference
(String tableExpression, String identificationVariable) NamedTableReference
(String tableExpression, String identificationVariable, boolean isOptional) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) boolean
containsAffectedTableName
(String requestedName) An identifier for the table reference.getTableReference
(NavigablePath navigablePath, String tableExpression, boolean resolve) Returns the table reference for the table expression, or null if not found.resolveTableReference
(NavigablePath navigablePath, String tableExpression) LikeColumnReferenceQualifier.getTableReference(NavigablePath, String, boolean)
, but will throw an exception if no table reference can be found, even after resolving possible table reference joins.void
setPrunedTableExpression
(String prunedTableExpression) toString()
visitAffectedTableNames
(Function<String, Boolean> nameCollector) 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
Methods inherited from interface org.hibernate.sql.ast.tree.from.TableReference
applyAffectedTableNames, asEmbeddableFunctionTableReference, isEmbeddableFunctionTableReference
-
Constructor Details
-
NamedTableReference
-
NamedTableReference
-
-
Method Details
-
getTableExpression
-
getTableId
Description copied from interface:TableReference
An identifier for the table reference. May be null if this is not a named table reference. -
setPrunedTableExpression
-
accept
-
getAffectedTableNames
-
containsAffectedTableName
-
visitAffectedTableNames
-
toString
-