Package org.hotrod.dynamicsql.segments
Class ChooseSegment
- java.lang.Object
-
- org.hotrod.dynamicsql.segments.QuerySegment
-
- org.hotrod.dynamicsql.segments.ControlSegment
-
- org.hotrod.dynamicsql.segments.ChooseSegment
-
public class ChooseSegment extends ControlSegment
-
-
Constructor Summary
Constructors Constructor Description ChooseSegment(List<WhenSegment> whens, OtherwiseSegment otherwise, DynamicExpressionFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprepare(StaticSegmentConsumer sc, Parameters context, int loopNestingLevel)
-
-
-
Constructor Detail
-
ChooseSegment
public ChooseSegment(List<WhenSegment> whens, OtherwiseSegment otherwise, DynamicExpressionFactory factory)
-
-
Method Detail
-
prepare
public boolean prepare(StaticSegmentConsumer sc, Parameters context, int loopNestingLevel) throws DynamicExpressionException
- Specified by:
preparein classQuerySegment- Throws:
DynamicExpressionException
-
-