Package org.apache.wayang.profiler.spark
Class SinkProfiler
java.lang.Object
org.apache.wayang.profiler.spark.SparkOperatorProfiler
org.apache.wayang.profiler.spark.SinkProfiler
SparkOperatorProfiler
implementation for SparkExecutionOperator
s with one input and no outputs.-
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
ConstructorsConstructorDescriptionSinkProfiler
(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator) -
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
-
SinkProfiler
public SinkProfiler(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator)
-
-
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
-