IN
- Type of the input elements.@Internal public interface PythonFunctionRunner<IN>
Modifier and Type | Method and Description |
---|---|
void |
close()
Tear-down the Python function runner.
|
void |
finishBundle()
Forces to finish the processing of the current bundle of elements.
|
void |
open()
Prepares the Python function runner, such as preparing the Python execution environment, etc.
|
void |
processElement(IN element)
Executes the Python function with the input element.
|
void |
startBundle()
Prepares to process the next bundle of elements.
|
void open() throws Exception
Exception
void startBundle() throws Exception
Exception
void finishBundle() throws Exception
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.