@Internal public class GroupCombineOperatorBase<IN,OUT,FT extends GroupCombineFunction<IN,OUT>> extends SingleInputOperator<IN,OUT,FT>
CombineFunction
input
broadcastInputs, userFunction
compilerHints, name, operatorInfo, parameters
Constructor and Description |
---|
GroupCombineOperatorBase(FT udf,
UnaryOperatorInformation<IN,OUT> operatorInfo,
int[] keyPositions,
String name) |
Modifier and Type | Method and Description |
---|---|
protected List<OUT> |
executeOnCollections(List<IN> inputData,
RuntimeContext ctx,
ExecutionConfig executionConfig) |
Ordering |
getGroupOrder()
Gets the order of elements within a reduce group.
|
void |
setGroupOrder(Ordering order)
Sets the order of the elements within a reduce group.
|
accept, addInput, addInput, clearInputs, getInput, getKeyColumns, getNumberOfInputs, getOperatorInfo, getSemanticProperties, setInput, setInput, setInputs, setSemanticProperties
asArray, emptyClassArray, getBroadcastInputs, getUserCodeWrapper, setBroadcastVariable, setBroadcastVariables
createUnionCascade, createUnionCascade, createUnionCascade, getCompilerHints, getMinResources, getName, getParallelism, getParameters, getPreferredResources, setName, setParallelism, setParameter, setParameter, setParameter, setResources, toString
public GroupCombineOperatorBase(FT udf, UnaryOperatorInformation<IN,OUT> operatorInfo, int[] keyPositions, String name)
public void setGroupOrder(Ordering order)
order
- The order for the elements in a reduce group.public Ordering getGroupOrder()
protected List<OUT> executeOnCollections(List<IN> inputData, RuntimeContext ctx, ExecutionConfig executionConfig) throws Exception
executeOnCollections
in class SingleInputOperator<IN,OUT,FT extends GroupCombineFunction<IN,OUT>>
Exception
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.