Class Junction
- java.lang.Object
-
- org.hibernate.sql.ast.tree.predicate.Junction
-
- All Implemented Interfaces:
DomainResultProducer<Boolean>,SqlSelectionProducer,Expression,Predicate,SqlAstNode
public class Junction extends Object implements Predicate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJunction.Nature
-
Constructor Summary
Constructors Constructor Description Junction()Junction(Junction.Nature nature)Junction(Junction.Nature nature, List<Predicate> predicates, JdbcMappingContainer expressionType)Junction(Junction.Nature nature, JdbcMappingContainer expressionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker sqlTreeWalker)voidadd(Predicate predicate)JdbcMappingContainergetExpressionType()The type for this expressionJunction.NaturegetNature()List<Predicate>getPredicates()booleanisEmpty()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.predicate.Predicate
applySqlSelections, createDomainResult
-
-
-
-
Constructor Detail
-
Junction
public Junction()
-
Junction
public Junction(Junction.Nature nature)
-
Junction
public Junction(Junction.Nature nature, JdbcMappingContainer expressionType)
-
Junction
public Junction(Junction.Nature nature, List<Predicate> predicates, JdbcMappingContainer expressionType)
-
-
Method Detail
-
add
public void add(Predicate predicate)
-
getNature
public Junction.Nature getNature()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
acceptin interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
-