Package org.hibernate.sql.ast.tree.from
Class TableReferenceJoin
- java.lang.Object
-
- org.hibernate.sql.ast.tree.from.TableReferenceJoin
-
- All Implemented Interfaces:
TableJoin
,PredicateContainer
,SqlAstNode
public class TableReferenceJoin extends Object implements TableJoin, PredicateContainer
Represents a join to aTableReference
; roughly equivalent to a SQL join.
-
-
Constructor Summary
Constructors Constructor Description TableReferenceJoin(boolean innerJoin, NamedTableReference joinedTableBinding, Predicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
void
applyPredicate(Predicate newPredicate)
Apply a predicate to this containerSqlAstNode
getJoinedNode()
NamedTableReference
getJoinedTableReference()
SqlAstJoinType
getJoinType()
Predicate
getPredicate()
boolean
isInitialized()
String
toString()
-
-
-
Constructor Detail
-
TableReferenceJoin
public TableReferenceJoin(boolean innerJoin, NamedTableReference joinedTableBinding, Predicate predicate)
-
-
Method Detail
-
getJoinType
public SqlAstJoinType getJoinType()
- Specified by:
getJoinType
in interfaceTableJoin
-
getJoinedTableReference
public NamedTableReference getJoinedTableReference()
-
getJoinedNode
public SqlAstNode getJoinedNode()
- Specified by:
getJoinedNode
in interfaceTableJoin
-
getPredicate
public Predicate getPredicate()
- Specified by:
getPredicate
in interfaceTableJoin
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
isInitialized
public boolean isInitialized()
- Specified by:
isInitialized
in interfaceTableJoin
-
applyPredicate
public void applyPredicate(Predicate newPredicate)
Description copied from interface:PredicateContainer
Apply a predicate to this container- Specified by:
applyPredicate
in interfacePredicateContainer
-
-