Class CaseSearchedExpression
java.lang.Object
org.hibernate.sql.ast.tree.expression.CaseSearchedExpression
- All Implemented Interfaces:
org.hibernate.query.sqm.sql.internal.DomainResultProducer, SqlSelectionProducer, Expression, SqlAstNode
public class CaseSearchedExpression
extends Object
implements Expression, org.hibernate.query.sqm.sql.internal.DomainResultProducer
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCaseSearchedExpression(MappingModelExpressible type, List<CaseSearchedExpression.WhenFragment> whenFragments, Expression otherwise) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker walker) voidapplySqlSelections(DomainResultCreationState creationState) createDomainResult(String resultVariable, DomainResultCreationState creationState) The type for this expressionvoidotherwise(Expression otherwiseExpression) voidwhen(Predicate predicate, Expression result) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
CaseSearchedExpression
-
CaseSearchedExpression
public CaseSearchedExpression(MappingModelExpressible type, List<CaseSearchedExpression.WhenFragment> whenFragments, Expression otherwise)
-
-
Method Details
-
getWhenFragments
-
getOtherwise
-
when
-
otherwise
-
createDomainResult
public DomainResult createDomainResult(String resultVariable, DomainResultCreationState creationState) - Specified by:
createDomainResultin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
applySqlSelections
- Specified by:
applySqlSelectionsin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-