public class ExternalProcessInputSplit
extends org.apache.flink.core.io.GenericInputSplit
InputFormat
that read their data from external processes.
Each parallel instance of an InputFormat starts an external process and reads its output.
The command to start the external process must be executable on all nodes.| Constructor and Description |
|---|
ExternalProcessInputSplit(int splitNumber,
int numSplits,
String extProcCommand)
Instantiates an ExternalProcessInputSplit
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalProcessCommand()
Returns the command to be executed to derive the input for this split
|
public ExternalProcessInputSplit(int splitNumber,
int numSplits,
String extProcCommand)
splitNumber - The number of the input splitextProcCommand - The command to be executed for the input splitpublic String getExternalProcessCommand()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.