Class CaseSimpleExpression
java.lang.Object
org.hibernate.sql.ast.tree.expression.CaseSimpleExpression
- All Implemented Interfaces:
org.hibernate.query.sqm.sql.internal.DomainResultProducer
,SqlSelectionProducer
,Expression
,SqlAstNode
public class CaseSimpleExpression
extends Object
implements Expression, org.hibernate.query.sqm.sql.internal.DomainResultProducer
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCaseSimpleExpression
(MappingModelExpressible type, Expression fixture) CaseSimpleExpression
(MappingModelExpressible type, Expression fixture, List<CaseSimpleExpression.WhenFragment> whenFragments, Expression otherwise) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker walker) void
applySqlSelections
(DomainResultCreationState creationState) createDomainResult
(String resultVariable, DomainResultCreationState creationState) The type for this expressionvoid
otherwise
(Expression otherwiseExpression) void
when
(Expression test, Expression result) 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
-
Constructor Details
-
CaseSimpleExpression
-
CaseSimpleExpression
public CaseSimpleExpression(MappingModelExpressible type, Expression fixture, List<CaseSimpleExpression.WhenFragment> whenFragments, Expression otherwise)
-
-
Method Details
-
getFixture
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-
createDomainResult
public DomainResult createDomainResult(String resultVariable, DomainResultCreationState creationState) - Specified by:
createDomainResult
in interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
applySqlSelections
- Specified by:
applySqlSelections
in interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
getWhenFragments
-
getOtherwise
-
otherwise
-
when
-