public static class CartesianProduct.FakeInput extends AbstractLogicalInput
| Constructor and Description |
|---|
FakeInput(InputContext inputContext,
int numPhysicalInputs)
Constructor an instance of the LogicalInput.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
close() |
Reader |
getReader() |
void |
handleEvents(List<Event> inputEvents) |
List<Event> |
initialize() |
void |
start() |
getContext, getNumPhysicalInputs, getProgresspublic FakeInput(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<Event> initialize() throws Exception
initialize in interface InputFrameworkInterfaceinitialize in class AbstractLogicalInputExceptionCopyright © 2021 Apache Software Foundation. All rights reserved.