@Internal public class CrossOperatorBase<IN1,IN2,OUT,FT extends CrossFunction<IN1,IN2,OUT>> extends DualInputOperator<IN1,IN2,OUT,FT>
CrossFunction
Modifier and Type | Class and Description |
---|---|
static class |
CrossOperatorBase.CrossHint
The cross hint tells the system which sizes to expect from the data sets
|
static interface |
CrossOperatorBase.CrossWithLarge
Marker interface to declare the second input as the larger one.
|
static interface |
CrossOperatorBase.CrossWithSmall
Marker interface to declare the second input as the smaller one.
|
input1, input2
broadcastInputs, userFunction
compilerHints, name, operatorInfo, parameters
Constructor and Description |
---|
CrossOperatorBase(Class<? extends FT> udf,
BinaryOperatorInformation<IN1,IN2,OUT> operatorInfo,
String name) |
CrossOperatorBase(FT udf,
BinaryOperatorInformation<IN1,IN2,OUT> operatorInfo,
String name) |
CrossOperatorBase(UserCodeWrapper<FT> udf,
BinaryOperatorInformation<IN1,IN2,OUT> operatorInfo,
String name) |
Modifier and Type | Method and Description |
---|---|
protected List<OUT> |
executeOnCollections(List<IN1> inputData1,
List<IN2> inputData2,
RuntimeContext ctx,
ExecutionConfig executionConfig) |
CrossOperatorBase.CrossHint |
getCrossHint() |
void |
setCrossHint(CrossOperatorBase.CrossHint hint) |
accept, addFirstInput, addFirstInputs, addSecondInput, addSecondInputs, clearFirstInput, clearSecondInput, getFirstInput, getKeyColumns, getNumberOfInputs, getOperatorInfo, getSecondInput, getSemanticProperties, setFirstInput, setFirstInput, setFirstInputs, setSecondInput, setSecondInput, setSecondInputs, setSemanticProperties
asArray, emptyClassArray, getBroadcastInputs, getUserCodeWrapper, setBroadcastVariable, setBroadcastVariables
createUnionCascade, createUnionCascade, createUnionCascade, getCompilerHints, getMinResources, getName, getParallelism, getParameters, getPreferredResources, setName, setParallelism, setParameter, setParameter, setParameter, setResources, toString
public CrossOperatorBase(UserCodeWrapper<FT> udf, BinaryOperatorInformation<IN1,IN2,OUT> operatorInfo, String name)
public CrossOperatorBase(FT udf, BinaryOperatorInformation<IN1,IN2,OUT> operatorInfo, String name)
public void setCrossHint(CrossOperatorBase.CrossHint hint)
public CrossOperatorBase.CrossHint getCrossHint()
protected List<OUT> executeOnCollections(List<IN1> inputData1, List<IN2> inputData2, RuntimeContext ctx, ExecutionConfig executionConfig) throws Exception
executeOnCollections
in class DualInputOperator<IN1,IN2,OUT,FT extends CrossFunction<IN1,IN2,OUT>>
Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.