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, toString
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, isWrapperFor, simplifyEvaluator, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, dependsOn, isWrapperFor, unwrap
public SetListCalc(Exp exp, Exp[] args, ExpCompiler compiler, List<ResultStyle> resultStyles)
public Calc[] getCalcs()
AbstractCalc
getCalcs
in class AbstractCalc
public TupleList evaluateList(Evaluator evaluator)
ListCalc
The list is immutable if Calc.getResultStyle()
yields
ResultStyle.MUTABLE_LIST
. Otherwise,
the caller must not modify the list.
evaluator
- Evaluation contextCopyright © 2020 Hitachi Vantara. All rights reserved.