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 class
Junction.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 void
accept(SqlAstWalker sqlTreeWalker)
void
add(Predicate predicate)
JdbcMappingContainer
getExpressionType()
The type for this expressionJunction.Nature
getNature()
List<Predicate>
getPredicates()
boolean
isEmpty()
-
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, createDomainResultSqlSelection, createSqlSelection, 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:
accept
in interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
-