Package org.apache.wayang.profiler.spark
Class SparkTextFileSourceProfiler
java.lang.Object
org.apache.wayang.profiler.spark.SparkOperatorProfiler
org.apache.wayang.profiler.spark.SparkSourceProfiler
org.apache.wayang.profiler.spark.SparkTextFileSourceProfiler
SparkOperatorProfiler for the SparkTextFileSource.-
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
ConstructorsConstructorDescriptionSparkTextFileSourceProfiler(Configuration configuration, Supplier<?> dataQuantumGenerator) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()Override this method to implement any clean-up logic.protected voidprepareInput(int inputIndex, long inputCardinality) Methods inherited from class org.apache.wayang.profiler.spark.SparkSourceProfiler
executeOperatorMethods inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
createChannelInstance, createChannelInstance, evaluate, partition, prepare, prepareInputRdd, prepareInputRddInDriver, prepareInputRddInWorker, provideCpuCycles, provideDiskBytes, provideNetworkBytes, run
-
Constructor Details
-
SparkTextFileSourceProfiler
-
-
Method Details
-
prepareInput
protected void prepareInput(int inputIndex, long inputCardinality) - Specified by:
prepareInputin classSparkOperatorProfiler
-
cleanUp
public void cleanUp()Description copied from class:SparkOperatorProfilerOverride this method to implement any clean-up logic.- Overrides:
cleanUpin classSparkOperatorProfiler
-