public static class CartesianProduct.FakeOutput extends AbstractLogicalOutput
| Constructor and Description |
|---|
FakeOutput(OutputContext outputContext,
int numPhysicalOutputs)
Constructor an instance of the LogicalOutput.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
close() |
Writer |
getWriter() |
void |
handleEvents(List<Event> outputEvents) |
List<Event> |
initialize() |
void |
start() |
getContext, getNumPhysicalOutputspublic FakeOutput(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<Event> initialize() throws Exception
initialize in interface OutputFrameworkInterfaceinitialize in class AbstractLogicalOutputExceptionCopyright © 2021 Apache Software Foundation. All rights reserved.