exp, type| Modifier | Constructor and Description |
|---|---|
protected |
GenericIterCalc(Exp exp)
Creates a GenericIterCalc without specifying child calculated
expressions.
|
protected |
GenericIterCalc(Exp exp,
Calc[] calcs)
Creates an GenericIterCalc.
|
| Modifier and Type | Method and Description |
|---|---|
TupleIterable |
evaluateIterable(Evaluator evaluator)
Evaluates an expression to yield an Iterable of members or tuples.
|
TupleList |
evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.
|
SetType |
getType()
Returns the type of this expression.
|
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getCalcs, getName, getResultStyle, isWrapperFor, simplifyEvaluator, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, dependsOn, evaluate, getResultStyle, isWrapperFor, unwrapprotected GenericIterCalc(Exp exp)
Subclass should override AbstractCalc.getCalcs().
exp - Source expressionpublic SetType getType()
CalcgetType in interface CalcgetType 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.
evaluateList in interface ListCalcevaluator - Evaluation contextpublic TupleIterable evaluateIterable(Evaluator evaluator)
IterCalcThe Iterable is immutable.
evaluateIterable in interface IterCalcevaluator - Evaluation contextCopyright © 2021 Hitachi Vantara. All rights reserved.