public class AggregationFunctionCallEval extends FunctionEval implements Cloneable
FunctionEval.ParamType| Modifier and Type | Field and Description |
|---|---|
protected AggFunction |
instance |
argEvals, funcDesc| Modifier | Constructor and Description |
|---|---|
protected |
AggregationFunctionCallEval(EvalType type,
FunctionDesc desc,
AggFunction instance,
EvalNode[] givenArgs) |
|
AggregationFunctionCallEval(FunctionDesc desc,
AggFunction instance,
EvalNode[] givenArgs) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Datum |
eval(Schema schema,
Tuple tuple) |
String |
getAlias() |
TajoDataTypes.DataType |
getValueType() |
boolean |
hasAlias() |
boolean |
isFinalPhase() |
boolean |
isIntermediatePhase() |
void |
merge(FunctionContext context,
Schema schema,
Tuple tuple) |
FunctionContext |
newContext() |
void |
setAlias(String alias) |
void |
setFinalPhase() |
void |
setFinalPhase(boolean flag) |
void |
setFirstPhase() |
void |
setIntermediatePhase() |
void |
setIntermediatePhase(boolean flag) |
Datum |
terminate(FunctionContext context) |
childNum, getArgs, getChild, getFuncDesc, getName, getParamType, hashCode, isDistinct, postOrder, preOrder, setArg, setArgs, toStringprotected AggFunction instance
protected AggregationFunctionCallEval(EvalType type, FunctionDesc desc, AggFunction instance, EvalNode[] givenArgs)
public AggregationFunctionCallEval(FunctionDesc desc, AggFunction instance, EvalNode[] givenArgs)
public FunctionContext newContext()
public void merge(FunctionContext context, Schema schema, Tuple tuple)
public Datum eval(Schema schema, Tuple tuple)
eval in class FunctionEvalpublic Datum terminate(FunctionContext context)
public TajoDataTypes.DataType getValueType()
getValueType in class FunctionEvalpublic boolean hasAlias()
public void setAlias(String alias)
public String getAlias()
public Object clone() throws CloneNotSupportedException
clone in class FunctionEvalCloneNotSupportedExceptionpublic boolean isIntermediatePhase()
public void setIntermediatePhase(boolean flag)
public void setFinalPhase(boolean flag)
public boolean isFinalPhase()
public void setFirstPhase()
public void setFinalPhase()
public void setIntermediatePhase()
public boolean equals(Object obj)
equals in class FunctionEvalCopyright © 2015 Apache Software Foundation. All Rights Reserved.