@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
Event s, 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
Output
Exception
- if an error occursvoid handleEvents(List<Event> outputEvents)
Event
s, which typically carry
information such as a downstream vertex being ready to consume input.outputEvents
- the list of Event
sCopyright © 2024 Apache Software Foundation. All rights reserved.