Package org.apache.wayang.profiler.spark
Class BinaryOperatorProfiler
java.lang.Object
org.apache.wayang.profiler.spark.SparkOperatorProfiler
org.apache.wayang.profiler.spark.BinaryOperatorProfiler
SparkOperatorProfiler
implementation for SparkExecutionOperator
s with two inputs and one output.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
SparkOperatorProfiler.Result
-
Field Summary
Fields inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
cpuMhz, dataQuantumGenerators, executionPaddingTime, functionCompiler, inputCardinalities, logger, numCoresPerMachine, numMachines, numPartitions, operator, operatorGenerator, sparkExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryOperatorProfiler
(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator0, Supplier<?> dataQuantumGenerator1) -
Method Summary
Modifier and TypeMethodDescriptionprotected SparkOperatorProfiler.Result
Executes the profiling task.protected void
prepareInput
(int inputIndex, long inputCardinality) Methods inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
cleanUp, createChannelInstance, createChannelInstance, evaluate, partition, prepare, prepareInputRdd, prepareInputRddInDriver, prepareInputRddInWorker, provideCpuCycles, provideDiskBytes, provideNetworkBytes, run
-
Constructor Details
-
BinaryOperatorProfiler
public BinaryOperatorProfiler(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator0, Supplier<?> dataQuantumGenerator1)
-
-
Method Details
-
prepareInput
protected void prepareInput(int inputIndex, long inputCardinality) - Specified by:
prepareInput
in classSparkOperatorProfiler
-
executeOperator
Description copied from class:SparkOperatorProfiler
Executes the profiling task. Requires that this instance is prepared.- Specified by:
executeOperator
in classSparkOperatorProfiler
-