@InterfaceAudience.Public
public interface OutputFrameworkInterface
Output.
This interface has methods which are used by the Tez framework to control the Output.
During initialization, Outputs must specify an initial memory requirement via
OutputContext.requestInitialMemory
Users are expected to derive from AbstractLogicalOutput| Modifier and Type | Method and Description |
|---|---|
List<Event> |
close()
Closes the
Output |
void |
handleEvents(List<Event> outputEvents)
Handles user and system generated
Events, which typically carry
information such as a downstream vertex being ready to consume input. |
List<Event> |
initialize()
Initializes the
Output |
List<Event> initialize() throws Exception
OutputException - if an error occursvoid handleEvents(List<Event> outputEvents)
Events, which typically carry
information such as a downstream vertex being ready to consume input.outputEvents - the list of EventsCopyright © 2024 Apache Software Foundation. All rights reserved.