public class Selection extends SpelNodeImpl
Basically a subset of the input data is returned based on the evaluation of the expression supplied as selection criteria.
Modifier and Type | Field and Description |
---|---|
static int |
ALL |
static int |
FIRST |
static int |
LAST |
children, pos
Constructor and Description |
---|
Selection(boolean nullSafe,
int variant,
int pos,
SpelNodeImpl expression) |
Modifier and Type | Method and Description |
---|---|
TypedValue |
getValueInternal(ExpressionState state) |
protected ValueRef |
getValueRef(ExpressionState state) |
String |
toStringAST() |
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, isWritable, nextChildIs, setValue
public static final int ALL
public static final int FIRST
public static final int LAST
public Selection(boolean nullSafe, int variant, int pos, SpelNodeImpl expression)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal
in class SpelNodeImpl
EvaluationException
protected ValueRef getValueRef(ExpressionState state) throws EvaluationException
getValueRef
in class SpelNodeImpl
EvaluationException
public String toStringAST()
toStringAST
in interface SpelNode
toStringAST
in class SpelNodeImpl