| Modifier | Constructor and Description |
|---|---|
protected |
ParDoFnBase(PipelineOptions options,
SideInputReader sideInputReader,
List<String> outputTags,
String stepName,
String transformName,
ExecutionContext executionContext,
CounterSet.AddCounterMutator addCounterMutator)
Creates a
ParDoFnBase using basic information about the step being executed. |
| Modifier and Type | Method and Description |
|---|---|
void |
finishBundle() |
protected abstract DoFnInfo<?,?> |
getDoFnInfo()
Creates a fresh
DoFnInfo. |
ExecutionContext |
getExecutionContext() |
void |
processElement(Object elem) |
void |
startBundle(Receiver... receivers) |
protected ParDoFnBase(PipelineOptions options, SideInputReader sideInputReader, List<String> outputTags, String stepName, String transformName, ExecutionContext executionContext, CounterSet.AddCounterMutator addCounterMutator)
ParDoFnBase using basic information about the step being executed.public ExecutionContext getExecutionContext()
protected abstract DoFnInfo<?,?> getDoFnInfo()
DoFnInfo. This will be called for each bundle.public void startBundle(Receiver... receivers) throws Exception
startBundle in interface ParDoFnExceptionpublic void processElement(Object elem) throws Exception
processElement in interface ParDoFnExceptionpublic void finishBundle()
throws Exception
finishBundle in interface ParDoFnException