public static class CartesianProduct.FakeOutput
extends org.apache.tez.runtime.api.AbstractLogicalOutput
| Constructor and Description |
|---|
FakeOutput(org.apache.tez.runtime.api.OutputContext outputContext,
int numPhysicalOutputs)
Constructor an instance of the LogicalOutput.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.tez.runtime.api.Event> |
close() |
org.apache.tez.runtime.api.Writer |
getWriter() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents) |
List<org.apache.tez.runtime.api.Event> |
initialize() |
void |
start() |
public FakeOutput(org.apache.tez.runtime.api.OutputContext outputContext,
int numPhysicalOutputs)
outputContext - the OutputContext which
provides
the Output with context information within the running task.numPhysicalOutputs - the number of physical outputs that the logical output willpublic List<org.apache.tez.runtime.api.Event> initialize() throws Exception
initialize in interface org.apache.tez.runtime.api.OutputFrameworkInterfaceinitialize in class org.apache.tez.runtime.api.AbstractLogicalOutputExceptionpublic void handleEvents(List<org.apache.tez.runtime.api.Event> outputEvents)
Copyright © 2020 Apache Software Foundation. All rights reserved.