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 long
Executes the profiling task.void
prepare
(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:
prepare
in classOperatorProfiler
-
executeOperator
protected long executeOperator()Description copied from class:OperatorProfiler
Executes the profiling task. Requires that this instance is prepared.- Specified by:
executeOperator
in classOperatorProfiler
-