public static class SetFunDef.SetListCalc extends AbstractListCalc
{ ...
}, applied to a set of tuples, as a list.
The set function can contain expressions which yield sets together with expressions which yield individual tuples, provided that they all have the same type. It automatically removes null or partially-null tuples from the list.
Also, does not process high-cardinality dimensions specially.
exp, type| Constructor and Description |
|---|
SetListCalc(Exp exp,
Exp[] args,
ExpCompiler compiler,
List<ResultStyle> resultStyles) |
| Modifier and Type | Method and Description |
|---|---|
TupleList |
evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.
|
Calc[] |
getCalcs()
Returns this expression's child expressions.
|
evaluate, evaluateIterable, getResultStyle, getType, toStringaccept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, isWrapperFor, simplifyEvaluator, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, dependsOn, isWrapperFor, unwrappublic SetListCalc(Exp exp, Exp[] args, ExpCompiler compiler, List<ResultStyle> resultStyles)
public Calc[] getCalcs()
AbstractCalcgetCalcs in class AbstractCalcpublic TupleList evaluateList(Evaluator evaluator)
ListCalcThe list is immutable if Calc.getResultStyle() yields
ResultStyle.MUTABLE_LIST. Otherwise,
the caller must not modify the list.
evaluator - Evaluation contextCopyright © 2021 Hitachi Vantara. All rights reserved.