Package org.apache.wayang.profiler.java
Class SourceProfiler
java.lang.Object
org.apache.wayang.profiler.java.OperatorProfiler
org.apache.wayang.profiler.java.SourceProfiler
- Direct Known Subclasses:
JavaCollectionSourceProfiler,JavaTextFileSourceProfiler
OperatorProfiler implementation for sinks.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wayang.profiler.java.OperatorProfiler
OperatorProfiler.Result -
Field Summary
Fields inherited from class org.apache.wayang.profiler.java.OperatorProfiler
cpuMhz, dataQuantumGenerators, executor, logger, operator, operatorGenerator -
Constructor Summary
ConstructorsConstructorDescriptionSourceProfiler(Supplier<JavaExecutionOperator> operatorGenerator, Supplier<?>... dataQuantumGenerators) -
Method Summary
Modifier and TypeMethodDescriptionprotected longExecutes the profiling task.voidprepare(long... inputCardinalities) Methods inherited from class org.apache.wayang.profiler.java.OperatorProfiler
createChannelInstance, createChannelInstance, evaluate, getOperator, provideDiskBytes, provideNetworkBytes, run
-
Constructor Details
-
SourceProfiler
public SourceProfiler(Supplier<JavaExecutionOperator> operatorGenerator, Supplier<?>... dataQuantumGenerators)
-
-
Method Details
-
prepare
public void prepare(long... inputCardinalities) - Overrides:
preparein classOperatorProfiler
-
executeOperator
protected long executeOperator()Description copied from class:OperatorProfilerExecutes the profiling task. Requires that this instance is prepared.- Specified by:
executeOperatorin classOperatorProfiler
-