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 TypeMethodDescriptionvoid
cleanUp()
Override this method to implement any clean-up logic.protected void
prepareInput
(int inputIndex, long inputCardinality) Methods inherited from class org.apache.wayang.profiler.spark.SparkSourceProfiler
executeOperator
Methods 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:
prepareInput
in classSparkOperatorProfiler
-
cleanUp
public void cleanUp()Description copied from class:SparkOperatorProfiler
Override this method to implement any clean-up logic.- Overrides:
cleanUp
in classSparkOperatorProfiler
-