public static class CartesianProduct.FakeInput
extends org.apache.tez.runtime.api.AbstractLogicalInput
| Constructor and Description |
|---|
FakeInput(org.apache.tez.runtime.api.InputContext inputContext,
int numPhysicalInputs)
Constructor an instance of the LogicalInput.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.tez.runtime.api.Event> |
close() |
org.apache.tez.runtime.api.Reader |
getReader() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> inputEvents) |
List<org.apache.tez.runtime.api.Event> |
initialize() |
void |
start() |
public FakeInput(org.apache.tez.runtime.api.InputContext inputContext,
int numPhysicalInputs)
inputContext - the InputContext which provides
the Input with context information within the running task.numPhysicalInputs - the number of physical inputs that the logical input willpublic List<org.apache.tez.runtime.api.Event> initialize() throws Exception
initialize in interface org.apache.tez.runtime.api.InputFrameworkInterfaceinitialize in class org.apache.tez.runtime.api.AbstractLogicalInputExceptionpublic void handleEvents(List<org.apache.tez.runtime.api.Event> inputEvents) throws Exception
ExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.